Class GeneratedAbstractBundleRule

    • Field Detail

      • ID

        public static final java.lang.String ID
        Qualifier of the AbstractBundleRule.id attribute
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Qualifier of the AbstractBundleRule.catalogVersion attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the AbstractBundleRule.name attribute
        See Also:
        Constant Field Values
      • RULETYPE

        public static final java.lang.String RULETYPE
        Qualifier of the AbstractBundleRule.ruleType attribute
        See Also:
        Constant Field Values
      • CONDITIONALPRODUCTS

        public static final java.lang.String CONDITIONALPRODUCTS
        Qualifier of the AbstractBundleRule.conditionalProducts attribute
        See Also:
        Constant Field Values
      • ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_SRC_ORDERED

        protected static java.lang.String ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_SRC_ORDERED
        Relation ordering override parameter constants for AbstractBundleRulesConditionalProductsRelation from ((configurablebundleservices))
      • ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_TGT_ORDERED

        protected static java.lang.String ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_TGT_ORDERED
      • ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_MARKMODIFIED

        protected static java.lang.String ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for AbstractBundleRulesConditionalProductsRelation from ((configurablebundleservices))
      • TARGETPRODUCTS

        public static final java.lang.String TARGETPRODUCTS
        Qualifier of the AbstractBundleRule.targetProducts attribute
        See Also:
        Constant Field Values
      • ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_SRC_ORDERED

        protected static java.lang.String ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_SRC_ORDERED
        Relation ordering override parameter constants for AbstractBundleRulesTargetProductsRelation from ((configurablebundleservices))
      • ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_TGT_ORDERED

        protected static java.lang.String ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_TGT_ORDERED
      • ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_MARKMODIFIED

        protected static java.lang.String ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for AbstractBundleRulesTargetProductsRelation from ((configurablebundleservices))
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedAbstractBundleRule

        public GeneratedAbstractBundleRule()
    • Method Detail

      • getCatalogVersion

        public CatalogVersion getCatalogVersion​(SessionContext ctx)
        Generated method - Getter of the AbstractBundleRule.catalogVersion attribute.
        Returns:
        the catalogVersion - Catalog Version
      • getCatalogVersion

        public CatalogVersion getCatalogVersion()
        Generated method - Getter of the AbstractBundleRule.catalogVersion attribute.
        Returns:
        the catalogVersion - Catalog Version
      • setCatalogVersion

        protected void setCatalogVersion​(SessionContext ctx,
                                         CatalogVersion value)
        Generated method - Setter of the AbstractBundleRule.catalogVersion attribute.
        Parameters:
        value - the catalogVersion - Catalog Version
      • setCatalogVersion

        protected void setCatalogVersion​(CatalogVersion value)
        Generated method - Setter of the AbstractBundleRule.catalogVersion attribute.
        Parameters:
        value - the catalogVersion - Catalog Version
      • getConditionalProducts

        public java.util.Collection<Product> getConditionalProducts​(SessionContext ctx)
        Generated method - Getter of the AbstractBundleRule.conditionalProducts attribute.
        Returns:
        the conditionalProducts
      • getConditionalProducts

        public java.util.Collection<Product> getConditionalProducts()
        Generated method - Getter of the AbstractBundleRule.conditionalProducts attribute.
        Returns:
        the conditionalProducts
      • getConditionalProductsCount

        public long getConditionalProductsCount​(SessionContext ctx)
      • getConditionalProductsCount

        public long getConditionalProductsCount()
      • setConditionalProducts

        public void setConditionalProducts​(SessionContext ctx,
                                           java.util.Collection<Product> value)
        Generated method - Setter of the AbstractBundleRule.conditionalProducts attribute.
        Parameters:
        value - the conditionalProducts
      • setConditionalProducts

        public void setConditionalProducts​(java.util.Collection<Product> value)
        Generated method - Setter of the AbstractBundleRule.conditionalProducts attribute.
        Parameters:
        value - the conditionalProducts
      • addToConditionalProducts

        public void addToConditionalProducts​(SessionContext ctx,
                                             Product value)
        Generated method - Adds value to conditionalProducts.
        Parameters:
        value - the item to add to conditionalProducts
      • addToConditionalProducts

        public void addToConditionalProducts​(Product value)
        Generated method - Adds value to conditionalProducts.
        Parameters:
        value - the item to add to conditionalProducts
      • removeFromConditionalProducts

        public void removeFromConditionalProducts​(SessionContext ctx,
                                                  Product value)
        Generated method - Removes value from conditionalProducts.
        Parameters:
        value - the item to remove from conditionalProducts
      • removeFromConditionalProducts

        public void removeFromConditionalProducts​(Product value)
        Generated method - Removes value from conditionalProducts.
        Parameters:
        value - the item to remove from conditionalProducts
      • getId

        public java.lang.String getId​(SessionContext ctx)
        Generated method - Getter of the AbstractBundleRule.id attribute.
        Returns:
        the id - Identifier
      • getId

        public java.lang.String getId()
        Generated method - Getter of the AbstractBundleRule.id attribute.
        Returns:
        the id - Identifier
      • setId

        protected void setId​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the AbstractBundleRule.id attribute.
        Parameters:
        value - the id - Identifier
      • setId

        protected void setId​(java.lang.String value)
        Generated method - Setter of the AbstractBundleRule.id attribute.
        Parameters:
        value - the id - Identifier
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the AbstractBundleRule.name attribute.
        Returns:
        the name - Name of the bundle rule
      • getName

        public java.lang.String getName()
        Generated method - Getter of the AbstractBundleRule.name attribute.
        Returns:
        the name - Name of the bundle rule
      • setName

        public void setName​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the AbstractBundleRule.name attribute.
        Parameters:
        value - the name - Name of the bundle rule
      • setName

        public void setName​(java.lang.String value)
        Generated method - Setter of the AbstractBundleRule.name attribute.
        Parameters:
        value - the name - Name of the bundle rule
      • getRuleType

        public EnumerationValue getRuleType​(SessionContext ctx)
        Generated method - Getter of the AbstractBundleRule.ruleType attribute.
        Returns:
        the ruleType
      • getRuleType

        public EnumerationValue getRuleType()
        Generated method - Getter of the AbstractBundleRule.ruleType attribute.
        Returns:
        the ruleType
      • setRuleType

        public void setRuleType​(SessionContext ctx,
                                EnumerationValue value)
        Generated method - Setter of the AbstractBundleRule.ruleType attribute.
        Parameters:
        value - the ruleType
      • setRuleType

        public void setRuleType​(EnumerationValue value)
        Generated method - Setter of the AbstractBundleRule.ruleType attribute.
        Parameters:
        value - the ruleType
      • getTargetProducts

        public java.util.Collection<Product> getTargetProducts​(SessionContext ctx)
        Generated method - Getter of the AbstractBundleRule.targetProducts attribute.
        Returns:
        the targetProducts
      • getTargetProducts

        public java.util.Collection<Product> getTargetProducts()
        Generated method - Getter of the AbstractBundleRule.targetProducts attribute.
        Returns:
        the targetProducts
      • getTargetProductsCount

        public long getTargetProductsCount​(SessionContext ctx)
      • getTargetProductsCount

        public long getTargetProductsCount()
      • setTargetProducts

        public void setTargetProducts​(SessionContext ctx,
                                      java.util.Collection<Product> value)
        Generated method - Setter of the AbstractBundleRule.targetProducts attribute.
        Parameters:
        value - the targetProducts
      • setTargetProducts

        public void setTargetProducts​(java.util.Collection<Product> value)
        Generated method - Setter of the AbstractBundleRule.targetProducts attribute.
        Parameters:
        value - the targetProducts
      • addToTargetProducts

        public void addToTargetProducts​(SessionContext ctx,
                                        Product value)
        Generated method - Adds value to targetProducts.
        Parameters:
        value - the item to add to targetProducts
      • addToTargetProducts

        public void addToTargetProducts​(Product value)
        Generated method - Adds value to targetProducts.
        Parameters:
        value - the item to add to targetProducts
      • removeFromTargetProducts

        public void removeFromTargetProducts​(SessionContext ctx,
                                             Product value)
        Generated method - Removes value from targetProducts.
        Parameters:
        value - the item to remove from targetProducts
      • removeFromTargetProducts

        public void removeFromTargetProducts​(Product value)
        Generated method - Removes value from targetProducts.
        Parameters:
        value - the item to remove from targetProducts