org.faktorips.runtime.formula
Class FormulaEvaluatorUtil.ExistsHelper

java.lang.Object
  extended by 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 Summary
FormulaEvaluatorUtil.ExistsHelper()
           
 
Method Summary
 boolean exists()
           
protected abstract  boolean existsInternal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormulaEvaluatorUtil.ExistsHelper

public FormulaEvaluatorUtil.ExistsHelper()
Method Detail

exists

public boolean exists()

existsInternal

protected abstract boolean existsInternal()


Copyright © 2015. All rights reserved.