Class GeneratedProductForPromotionSourceRule

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

public abstract class GeneratedProductForPromotionSourceRule extends GenericItem
Generated class for type ProductForPromotionSourceRule.
See Also:
  • Field Details

    • PRODUCTCODE

      public static final String PRODUCTCODE
      Qualifier of the ProductForPromotionSourceRule.productCode attribute
      See Also:
    • RULE

      public static final String RULE
      Qualifier of the ProductForPromotionSourceRule.rule attribute
      See Also:
    • PROMOTION

      public static final String PROMOTION
      Qualifier of the ProductForPromotionSourceRule.promotion attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedProductForPromotionSourceRule

      public GeneratedProductForPromotionSourceRule()
  • Method Details

    • getDefaultAttributeModes

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

      public String getProductCode(SessionContext ctx)
      Generated method - Getter of the ProductForPromotionSourceRule.productCode attribute.
      Returns:
      the productCode - product code used in the given PromotionSourceRule
    • getProductCode

      public String getProductCode()
      Generated method - Getter of the ProductForPromotionSourceRule.productCode attribute.
      Returns:
      the productCode - product code used in the given PromotionSourceRule
    • setProductCode

      protected void setProductCode(SessionContext ctx, String value)
      Generated method - Setter of the ProductForPromotionSourceRule.productCode attribute.
      Parameters:
      value - the productCode - product code used in the given PromotionSourceRule
    • setProductCode

      protected void setProductCode(String value)
      Generated method - Setter of the ProductForPromotionSourceRule.productCode attribute.
      Parameters:
      value - the productCode - product code used in the given PromotionSourceRule
    • getPromotion

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

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

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

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

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

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

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

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