Class FormulaEvaluatorUtil.ExistsHelper

java.lang.Object
org.faktorips.runtime.formula.FormulaEvaluatorUtil.ExistsHelper
Enclosing class:
FormulaEvaluatorUtil

public abstract static class FormulaEvaluatorUtil.ExistsHelper extends Object
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 Details

    • ExistsHelper

      public ExistsHelper()
  • Method Details

    • exists

      public boolean exists()
    • existsInternal

      protected abstract boolean existsInternal()