S - the type of the source objectsE - the type of the valuespublic abstract static class FormulaEvaluatorUtil.AttributeAccessorHelper<S extends IModelObject,E> extends Object
<S> to target
type <E>.| Constructor and Description |
|---|
AttributeAccessorHelper() |
| Modifier and Type | Method and Description |
|---|---|
List<E> |
getAttributeValues(List<? extends S> objectList)
Returns a
List of values from model objects found by calling
getValueInternal(IModelObject) for every object in the sourceObjects
List. |
protected abstract E |
getValueInternal(S sourceObject)
Returns the value of the property from the
IModelObject by calling the getter
method of the property. |
public List<E> getAttributeValues(List<? extends S> objectList)
List of values from model objects found by calling
getValueInternal(IModelObject) for every object in the sourceObjects
List.objectList - the List of model objects on which
getValueInternal(IModelObject) will be called.List of Valuesprotected abstract E getValueInternal(S sourceObject)
IModelObject by calling the getter
method of the property.sourceObject - the IModelObject sourceIModelObjectCopyright © 2023. All rights reserved.