Class GeneratedCombinedCatsForRule

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

public abstract class GeneratedCombinedCatsForRule extends GenericItem
Generated class for type CombinedCatsForRule.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedCombinedCatsForRule

      public GeneratedCombinedCatsForRule()
  • 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 CombinedCatsForRule.categoryCode attribute.
      Returns:
      the categoryCode
    • getCategoryCode

      public String getCategoryCode()
      Generated method - Getter of the CombinedCatsForRule.categoryCode attribute.
      Returns:
      the categoryCode
    • setCategoryCode

      protected void setCategoryCode(SessionContext ctx, String value)
      Generated method - Setter of the CombinedCatsForRule.categoryCode attribute.
      Parameters:
      value - the categoryCode
    • setCategoryCode

      protected void setCategoryCode(String value)
      Generated method - Setter of the CombinedCatsForRule.categoryCode attribute.
      Parameters:
      value - the categoryCode
    • getConditionId

      public Integer getConditionId(SessionContext ctx)
      Generated method - Getter of the CombinedCatsForRule.conditionId attribute.
      Returns:
      the conditionId - Id for the category codes that are combined in one condition
    • getConditionId

      public Integer getConditionId()
      Generated method - Getter of the CombinedCatsForRule.conditionId attribute.
      Returns:
      the conditionId - Id for the category codes that are combined in one condition
    • getConditionIdAsPrimitive

      public int getConditionIdAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CombinedCatsForRule.conditionId attribute.
      Returns:
      the conditionId - Id for the category codes that are combined in one condition
    • getConditionIdAsPrimitive

      public int getConditionIdAsPrimitive()
      Generated method - Getter of the CombinedCatsForRule.conditionId attribute.
      Returns:
      the conditionId - Id for the category codes that are combined in one condition
    • setConditionId

      protected void setConditionId(SessionContext ctx, Integer value)
      Generated method - Setter of the CombinedCatsForRule.conditionId attribute.
      Parameters:
      value - the conditionId - Id for the category codes that are combined in one condition
    • setConditionId

      protected void setConditionId(Integer value)
      Generated method - Setter of the CombinedCatsForRule.conditionId attribute.
      Parameters:
      value - the conditionId - Id for the category codes that are combined in one condition
    • setConditionId

      protected void setConditionId(SessionContext ctx, int value)
      Generated method - Setter of the CombinedCatsForRule.conditionId attribute.
      Parameters:
      value - the conditionId - Id for the category codes that are combined in one condition
    • setConditionId

      protected void setConditionId(int value)
      Generated method - Setter of the CombinedCatsForRule.conditionId attribute.
      Parameters:
      value - the conditionId - Id for the category codes that are combined in one condition
    • getPromotion

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

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

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

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

      public PromotionSourceRule getRule(SessionContext ctx)
      Generated method - Getter of the CombinedCatsForRule.rule attribute.
      Returns:
      the rule - PromotionSourceRule containing combined category codes
    • getRule

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

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

      protected void setRule(PromotionSourceRule value)
      Generated method - Setter of the CombinedCatsForRule.rule attribute.
      Parameters:
      value - the rule - PromotionSourceRule containing combined category codes