public class ScalarRuleOperand extends Object implements RuleOperand
| Constructor and Description |
|---|
ScalarRuleOperand(Object val) |
| 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 fieldName) |
List<String> |
getFieldList() |
Shape |
getShape(DValue dval) |
String |
getSubject() |
public ScalarRuleOperand(Object val)
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 boolean dependsOn(String fieldName)
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.