Package org.faktorips.runtime.util
Class ProductComponentLinks
java.lang.Object
org.faktorips.runtime.util.ProductComponentLinks
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IProductComponent>
TgetTarget(int index, Map<String, IProductComponentLink<T>> componentLink) Returns value of type IProductComponent at the indicated index.
-
Method Details
-
getTarget
public static <T extends IProductComponent> T getTarget(int index, Map<String, IProductComponentLink<T>> componentLink) Returns value of type IProductComponent at the indicated index.- Throws:
IndexOutOfBoundsException- if the given index is out of range
-