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