Package org.faktorips.runtime.formula
Class FormulaEvaluatorUtil.ExistsHelper
java.lang.Object
org.faktorips.runtime.formula.FormulaEvaluatorUtil.ExistsHelper
- Enclosing class:
- FormulaEvaluatorUtil
Helper class to encapsulate a function call to verify the existence of an object that could
result in an
Exception (for example a NullPointerException or
IndexOutOfBoundsException when navigating over associations in model objects) which should just be treated as a false result.
This class is intended to be subclassed in compiled formulas only.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExistsHelper
public ExistsHelper()
-
-
Method Details
-
exists
public boolean exists() -
existsInternal
protected abstract boolean existsInternal()
-