Class FormulaEvaluatorUtil.AttributeAccessorHelper<S extends IModelObject,​E>

  • Type Parameters:
    S - the type of the source objects
    E - the type of the values
    Enclosing class:
    FormulaEvaluatorUtil

    public abstract static class FormulaEvaluatorUtil.AttributeAccessorHelper<S extends IModelObject,​E>
    extends java.lang.Object
    Helper class to get the values from a list of source objects of type <S> to target type <E>.
    • Constructor Detail

      • AttributeAccessorHelper

        public AttributeAccessorHelper()
    • Method Detail

      • getValueInternal

        protected abstract E getValueInternal​(S sourceObject)
        Returns the value of the property from the IModelObject by calling the getter method of the property.
        Parameters:
        sourceObject - the IModelObject source
        Returns:
        the value of property of the IModelObject