Class ProductComponentLink<T extends IProductComponent>

    • Constructor Detail

      • ProductComponentLink

        public ProductComponentLink​(IProductComponentGeneration source)
        Creates a new link for the given product component generation. Target and cardinality must be set by invoking initFromXml.
      • ProductComponentLink

        public ProductComponentLink​(IProductComponentGeneration source,
                                    T target)
        Creates a new link to the given target for the given product component generation using the cardinality (0,*).
        Throws:
        java.lang.NullPointerException - if any of the parameters is null.
      • ProductComponentLink

        public ProductComponentLink​(IProductComponentGeneration source,
                                    T target,
                                    CardinalityRange cardinality)
        Creates a new link with the given cardinality to the given target for the given product component generation.
        Throws:
        java.lang.NullPointerException - if any of the parameters is null.
      • ProductComponentLink

        public ProductComponentLink​(IProductComponentLinkSource source)
        Creates a new link for the given product component/generation. Target and cardinality must be set by invoking initFromXml.
      • ProductComponentLink

        public ProductComponentLink​(IProductComponentLinkSource source,
                                    T target)
        Creates a new link to the given target for the given product component/generation using the cardinality (0,*).
        Throws:
        java.lang.NullPointerException - if any of the parameters is null.
      • ProductComponentLink

        public ProductComponentLink​(IProductComponentLinkSource source,
                                    T target,
                                    java.lang.String associationName)
        Creates a new link to the given target and association name for the given product component/generation using the cardinality (0,*).
        Throws:
        java.lang.NullPointerException - if any of the parameters is null.
      • ProductComponentLink

        public ProductComponentLink​(IProductComponentLinkSource source,
                                    T target,
                                    CardinalityRange cardinality)
        Creates a new link with the given cardinality to the given target for the given product component/generation.
        Throws:
        java.lang.NullPointerException - if any of the parameters is null.
      • ProductComponentLink

        public ProductComponentLink​(IProductComponentLinkSource source,
                                    T target,
                                    CardinalityRange cardinality,
                                    java.lang.String associationName)
        Creates a new link with the cardinality and association name to the given target for the given product component/generation.
        Throws:
        java.lang.NullPointerException - if any of the parameters is null.