S - the type of the source objectsT - the type of the association targetspublic abstract static class FormulaEvaluatorUtil.AssociationTo1Helper<S extends IModelObject,T extends IModelObject> extends Object
<S> to target objects of type <T>.| Constructor and Description |
|---|
FormulaEvaluatorUtil.AssociationTo1Helper() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
getTargetInternal(S sourceObject)
Returns the target
IModelObject by following a 1-to-1 association from the given
source object. |
List<? extends T> |
getTargets(List<? extends S> sourceObjects)
Returns a
List of target model objects found by calling
getTargetInternal(IModelObject) for every object in the sourceObjects
List. |
public FormulaEvaluatorUtil.AssociationTo1Helper()
public List<? extends T> getTargets(List<? extends S> sourceObjects)
List of target model objects found by calling
getTargetInternal(IModelObject) for every object in the sourceObjects
List.sourceObjects - the model objects on which
getTargetInternal(IModelObject) will be calledList of target model objectsprotected abstract T getTargetInternal(S sourceObject)
IModelObject by following a 1-to-1 association from the given
source object.sourceObject - the IModelObject source for the associationIModelObjectCopyright © 2016. All rights reserved.