public class Recalculate extends Triggerable
triggerablesRootOrdering
Constructor and Description |
---|
Recalculate() |
Recalculate(IConditionExpr expr,
TreeReference contextRef) |
Recalculate(IConditionExpr expr,
TreeReference target,
TreeReference contextRef) |
Modifier and Type | Method and Description |
---|---|
void |
apply(TreeReference ref,
java.lang.Object result,
FormInstance mainInstance) |
boolean |
canCascade() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
eval(FormInstance model,
EvaluationContext ec) |
static IAnswerData |
wrapData(java.lang.Object val,
int dataType)
convert the data object returned by the xpath expression into an IAnswerData suitable for
storage in the FormInstance
|
addTarget, apply, changeContextRefToIntersectWithTriggerable, contextualizeContextRef, evalPredicate, evalRaw, findAffectedTriggers, getExpr, getImmediateCascades, getTargets, getTriggers, isCascadingToChildren, print, readExternal, setImmediateCascades, setWaveCount, toString, writeExternal
public Recalculate()
public Recalculate(IConditionExpr expr, TreeReference contextRef)
public Recalculate(IConditionExpr expr, TreeReference target, TreeReference contextRef)
public java.lang.Object eval(FormInstance model, EvaluationContext ec)
eval
in class Triggerable
public void apply(TreeReference ref, java.lang.Object result, FormInstance mainInstance)
apply
in class Triggerable
public boolean canCascade()
canCascade
in class Triggerable
public boolean equals(java.lang.Object o)
equals
in class Triggerable
public static IAnswerData wrapData(java.lang.Object val, int dataType)