Interface IProductComponentLink<T extends IProductComponent>

All Superinterfaces:
IClRepositoryObject, IRuntimeObject
All Known Implementing Classes:
ProductComponentLink

public interface IProductComponentLink<T extends IProductComponent> extends IRuntimeObject, IClRepositoryObject
This class represents a link between two product components.

The generic type T specifies the target type of this link.

Author:
Daniel Hohenberger
  • Method Details

    • getCardinality

      CardinalityRange getCardinality()
      Returns:
      this link's min and max cardinality as a IntegerRange.
    • getSource

      Returns the IProductComponentLinkSource this link originates from. This may be a IProductComponentGeneration or a IProductComponent (since 3.8).
      Since:
      The return value of this method changed in version 3.8 from IProductComponentGeneration to IProductComponentLinkSource because the link source may be a product component or a product component generation.
    • getTarget

      T getTarget()
      Returns the target product component.
    • getTargetId

      String getTargetId()
      Returns the target product component's id.
    • getAssociationName

      String getAssociationName()
      Returns the name of the association this link belongs to.
    • getDescription

      String getDescription(Locale locale)
      Returns the description for this link in the specified locale. If there is no description in the specified locale, it tries to find the description in the locale's language. If there is also no description in the locale's language it returns the empty string.
      Returns:
      the description for the given locale/language or an empty string if no description exists for the given locale