Class Recalculate
java.lang.Object
org.javarosa.core.model.condition.Triggerable
org.javarosa.core.model.condition.Recalculate
- All Implemented Interfaces:
Externalizable
public class Recalculate extends Triggerable
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Recalculate()Recalculate(IConditionExpr expr, TreeReference contextRef) -
Method Summary
Modifier and Type Method Description voidapply(TreeReference ref, Object result, FormInstance mainInstance)booleancanCascade()booleanequals(Object o)Objecteval(FormInstance model, EvaluationContext ec)static IAnswerDatawrapData(Object val, int intDataType)convert the data object returned by the xpath expression into an IAnswerData suitable for storage in the FormInstanceMethods inherited from class org.javarosa.core.model.condition.Triggerable
addTarget, apply, changeContextRefToIntersectWithTriggerable, contextualizeContextRef, findAffectedTriggers, getExpr, getImmediateCascades, getTargets, getTriggers, isCascadingToChildren, print, readExternal, setImmediateCascades, setWaveCount, toString, writeExternal
-
Constructor Details
-
Recalculate
public Recalculate() -
Recalculate
-
-
Method Details
-
eval
- Specified by:
evalin classTriggerable
-
apply
- Specified by:
applyin classTriggerable
-
canCascade
public boolean canCascade()- Specified by:
canCascadein classTriggerable
-
equals
- Overrides:
equalsin classTriggerable
-
wrapData
convert the data object returned by the xpath expression into an IAnswerData suitable for storage in the FormInstance
-