Class GeneratedCatForPromotionSourceRule

    • Field Detail

      • CATEGORYCODE

        public static final java.lang.String CATEGORYCODE
        Qualifier of the CatForPromotionSourceRule.categoryCode attribute
        See Also:
        Constant Field Values
      • RULE

        public static final java.lang.String RULE
        Qualifier of the CatForPromotionSourceRule.rule attribute
        See Also:
        Constant Field Values
      • PROMOTION

        public static final java.lang.String PROMOTION
        Qualifier of the CatForPromotionSourceRule.promotion attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedCatForPromotionSourceRule

        public GeneratedCatForPromotionSourceRule()
    • Method Detail

      • getCategoryCode

        public java.lang.String getCategoryCode​(SessionContext ctx)
        Generated method - Getter of the CatForPromotionSourceRule.categoryCode attribute.
        Returns:
        the categoryCode - category code used in the given PromotionSourceRule
      • getCategoryCode

        public java.lang.String getCategoryCode()
        Generated method - Getter of the CatForPromotionSourceRule.categoryCode attribute.
        Returns:
        the categoryCode - category code used in the given PromotionSourceRule
      • setCategoryCode

        protected void setCategoryCode​(SessionContext ctx,
                                       java.lang.String value)
        Generated method - Setter of the CatForPromotionSourceRule.categoryCode attribute.
        Parameters:
        value - the categoryCode - category code used in the given PromotionSourceRule
      • setCategoryCode

        protected void setCategoryCode​(java.lang.String value)
        Generated method - Setter of the CatForPromotionSourceRule.categoryCode attribute.
        Parameters:
        value - the categoryCode - category code used in the given PromotionSourceRule
      • getPromotion

        public RuleBasedPromotion getPromotion​(SessionContext ctx)
        Generated method - Getter of the CatForPromotionSourceRule.promotion attribute.
        Returns:
        the promotion - RuleBasedPromotion related to the rule
      • getPromotion

        public RuleBasedPromotion getPromotion()
        Generated method - Getter of the CatForPromotionSourceRule.promotion attribute.
        Returns:
        the promotion - RuleBasedPromotion related to the rule
      • setPromotion

        protected void setPromotion​(SessionContext ctx,
                                    RuleBasedPromotion value)
        Generated method - Setter of the CatForPromotionSourceRule.promotion attribute.
        Parameters:
        value - the promotion - RuleBasedPromotion related to the rule
      • setPromotion

        protected void setPromotion​(RuleBasedPromotion value)
        Generated method - Setter of the CatForPromotionSourceRule.promotion attribute.
        Parameters:
        value - the promotion - RuleBasedPromotion related to the rule
      • getRule

        public PromotionSourceRule getRule​(SessionContext ctx)
        Generated method - Getter of the CatForPromotionSourceRule.rule attribute.
        Returns:
        the rule - PromotionSourceRule containing the category code
      • getRule

        public PromotionSourceRule getRule()
        Generated method - Getter of the CatForPromotionSourceRule.rule attribute.
        Returns:
        the rule - PromotionSourceRule containing the category code
      • setRule

        protected void setRule​(SessionContext ctx,
                               PromotionSourceRule value)
        Generated method - Setter of the CatForPromotionSourceRule.rule attribute.
        Parameters:
        value - the rule - PromotionSourceRule containing the category code
      • setRule

        protected void setRule​(PromotionSourceRule value)
        Generated method - Setter of the CatForPromotionSourceRule.rule attribute.
        Parameters:
        value - the rule - PromotionSourceRule containing the category code