Package org.faktorips.runtime
Interface IProductComponentLinkSource
- All Known Subinterfaces:
IProductComponent,IProductComponentGeneration,IProductObject
- All Known Implementing Classes:
ProductComponent,ProductComponentGeneration
public interface IProductComponentLinkSource
The source of an
IProductComponentLink. This may be a IProductComponent or a
IProductComponentGeneration.-
Method Summary
Modifier and TypeMethodDescriptionIProductComponentLink<? extends IProductComponent>getLink(String linkName, IProductComponent target) Returns theIProductComponentLinkfor the association with the given role name to the given product component ornullif no such association exists.List<IProductComponentLink<? extends IProductComponent>>getLinks()Returns aListof all theIProductComponentLinks from this product component generation to other product components.Getting the runtime repository of this link source.
-
Method Details
-
getRepository
IRuntimeRepository getRepository()Getting the runtime repository of this link source.- Returns:
- The
IRuntimeRepositorythat was used to create thisIProductComponentLinkSource
-
getLinks
List<IProductComponentLink<? extends IProductComponent>> getLinks()Returns aListof all theIProductComponentLinks from this product component generation to other product components.- Since:
- 3.8
-
getLink
IProductComponentLink<? extends IProductComponent> getLink(String linkName, IProductComponent target) Returns theIProductComponentLinkfor the association with the given role name to the given product component ornullif no such association exists.
-