Class GeneratedCatForPromotionSourceRule

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
CatForPromotionSourceRule

public abstract class GeneratedCatForPromotionSourceRule extends GenericItem
Generated class for type CatForPromotionSourceRule.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedCatForPromotionSourceRule

      public GeneratedCatForPromotionSourceRule()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getCategoryCode

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

      public 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, 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(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