Package org.faktorips.runtime
Interface IProductComponentLinkSource
-
- All Known Subinterfaces:
IProductComponent,IProductComponentGeneration,IProductObject
- All Known Implementing Classes:
ProductComponent,ProductComponentGeneration
public interface IProductComponentLinkSourceThe source of anIProductComponentLink. This may be aIProductComponentor aIProductComponentGeneration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IProductComponentLink<? extends IProductComponent>getLink(java.lang.String linkName, IProductComponent target)Returns theIProductComponentLinkfor the association with the given role name to the given product component ornullif no such association exists.java.util.List<IProductComponentLink<? extends IProductComponent>>getLinks()Returns aListof all theIProductComponentLinks from this product component generation to other product components.IRuntimeRepositorygetRepository()Getting the runtime repository of this link source.
-
-
-
Method Detail
-
getRepository
IRuntimeRepository getRepository()
Getting the runtime repository of this link source.- Returns:
- The
IRuntimeRepositorythat was used to create thisIProductComponentLinkSource
-
getLinks
java.util.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(java.lang.String linkName, IProductComponent target)
Returns theIProductComponentLinkfor the association with the given role name to the given product component ornullif no such association exists.
-
-