public class RuleRuleOperand extends Object implements RuleOperand
| Constructor and Description |
|---|
RuleRuleOperand(String fnName,
DRule rule,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
Date |
asDate(DValue dval) |
Integer |
asInt(DValue dval) |
Long |
asLong(DValue dval) |
Double |
asNumber(DValue dval) |
DRelation |
asRelation(DValue dval) |
String |
asString(DValue dval) |
boolean |
dependsOn(String targetFieldName) |
Object |
exec(DValue dval,
DRuleContext ctx) |
List<String> |
getFieldList() |
Shape |
getShape(DValue dval) |
String |
getSubject() |
public String asString(DValue dval)
asString in interface RuleOperandpublic String getSubject()
getSubject in interface RuleOperandpublic Shape getShape(DValue dval)
getShape in interface RuleOperandpublic Integer asInt(DValue dval)
asInt in interface RuleOperandpublic Object exec(DValue dval, DRuleContext ctx)
public boolean dependsOn(String targetFieldName)
dependsOn in interface RuleOperandpublic List<String> getFieldList()
getFieldList in interface RuleOperandpublic Long asLong(DValue dval)
asLong in interface RuleOperandpublic Double asNumber(DValue dval)
asNumber in interface RuleOperandpublic Date asDate(DValue dval)
asDate in interface RuleOperandpublic DRelation asRelation(DValue dval)
asRelation in interface RuleOperandCopyright © 2020. All rights reserved.