public interface IConditionExpr extends Externalizable
Modifier and Type | Method and Description |
---|---|
boolean |
eval(FormInstance model,
EvaluationContext evalContext)
Evaluate this expression against the current models and
context and provide a true or false value.
|
java.util.List<TreeReference> |
evalNodeset(FormInstance model,
EvaluationContext evalContext)
Used for itemsets.
|
java.lang.Object |
evalRaw(FormInstance model,
EvaluationContext evalContext)
Evaluate this expression against the current models and
context and provide the final value of the expression, without
forcing a cast to a boolean value.
|
java.lang.String |
evalReadable(FormInstance model,
EvaluationContext evalContext)
Used for itemsets.
|
java.util.Set<TreeReference> |
getTriggers(TreeReference contextRef)
Provides a list of all of the references that this expression's value depends upon
directly.
|
java.util.List<java.lang.Object> |
pivot(FormInstance model,
EvaluationContext evalContext)
Provide a list of Pivots around which this Condition Expression depends.
|
readExternal, writeExternal
boolean eval(FormInstance model, EvaluationContext evalContext)
model
- evalContext
- java.lang.Object evalRaw(FormInstance model, EvaluationContext evalContext)
model
- evalContext
- java.lang.String evalReadable(FormInstance model, EvaluationContext evalContext)
model
- evalContext
- java.util.List<TreeReference> evalNodeset(FormInstance model, EvaluationContext evalContext)
model
- evalContext
- java.util.Set<TreeReference> getTriggers(TreeReference contextRef)
java.util.List<java.lang.Object> pivot(FormInstance model, EvaluationContext evalContext) throws UnpivotableExpressionException
model
- evalContext
- UnpivotableExpressionException