Package org.faktorips.runtime.formula
Class FormulaEvaluatorUtil.ExistsHelper
- java.lang.Object
-
- org.faktorips.runtime.formula.FormulaEvaluatorUtil.ExistsHelper
-
- Enclosing class:
- FormulaEvaluatorUtil
public abstract static class FormulaEvaluatorUtil.ExistsHelper extends java.lang.ObjectHelper class to encapsulate a function call to verify the existence of an object that could result in anException(for example aNullPointerExceptionorIndexOutOfBoundsExceptionwhen navigating over associations inmodel objects) which should just be treated as afalseresult.This class is intended to be subclassed in compiled formulas only.
-
-
Constructor Summary
Constructors Constructor Description ExistsHelper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanexists()protected abstract booleanexistsInternal()
-