| Modifier and Type | Field and Description |
|---|---|
RelationInfo |
relInfo |
| Constructor and Description |
|---|
RelationOneRule(RuleGuard guard,
RuleOperand oper1,
DStructType owningType,
DTypeRegistry registry,
boolean isParent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOn(String fieldName) |
void |
forceParentFlag(boolean b) |
String |
getSubject() |
boolean |
isParent() |
protected boolean |
onValidate(DValue dval,
DRuleContext ctx) |
void |
populateFK(DValue dval,
FetchRunner fetchRunner) |
exec, executeGuard, getName, setPolarity, validatepublic RelationInfo relInfo
public RelationOneRule(RuleGuard guard, RuleOperand oper1, DStructType owningType, DTypeRegistry registry, boolean isParent)
protected boolean onValidate(DValue dval, DRuleContext ctx)
onValidate in class DRuleBasepublic boolean dependsOn(String fieldName)
public String getSubject()
public boolean isParent()
public void forceParentFlag(boolean b)
public void populateFK(DValue dval, FetchRunner fetchRunner)
Copyright © 2020. All rights reserved.