Class BooleanEvaluator
- java.lang.Object
-
- com.nomagic.magicdraw.variants.evaluation.BooleanEvaluator
-
-
Constructor Summary
Constructors Constructor Description BooleanEvaluator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Boolean
evaluate(Element element)
Evaluates given elementjava.lang.Boolean
evaluate(Element element, java.lang.Object currentValue)
Calculates value based on supplied model element
-
-
-
Method Detail
-
evaluate
public final java.lang.Boolean evaluate(Element element, @CheckForNull java.lang.Object currentValue)
Description copied from interface:Evaluator
Calculates value based on supplied model element
-
evaluate
@CheckForNull public abstract java.lang.Boolean evaluate(Element element)
Evaluates given element- Parameters:
element
- given element- Returns:
- true or false. Null means failure in calculating the value
-
-