Class GeneratedProductCategoryRestriction

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

public abstract class GeneratedProductCategoryRestriction extends ProductRestriction
Generated class for type ProductCategoryRestriction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedProductCategoryRestriction

      public GeneratedProductCategoryRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<Category> getCategories(SessionContext ctx)
      Generated method - Getter of the ProductCategoryRestriction.categories attribute.
      Returns:
      the categories - the categories the given voucher is valid for.
    • getCategories

      public Collection<Category> getCategories()
      Generated method - Getter of the ProductCategoryRestriction.categories attribute.
      Returns:
      the categories - the categories the given voucher is valid for.
    • setCategories

      public void setCategories(SessionContext ctx, Collection<Category> value)
      Generated method - Setter of the ProductCategoryRestriction.categories attribute.
      Parameters:
      value - the categories - the categories the given voucher is valid for.
    • setCategories

      public void setCategories(Collection<Category> value)
      Generated method - Setter of the ProductCategoryRestriction.categories attribute.
      Parameters:
      value - the categories - the categories the given voucher is valid for.