java.lang.Object
com.broadleafcommerce.bulkoperations.domain.catalog.Category
All Implemented Interfaces:
CatalogItem, Serializable

public class Category extends Object implements CatalogItem
DTO for a Broadleaf Category.
Since:
Bulk Operations Service 1.0.2, Release Train 2.1.4, Release Train 2.2.0
See Also:
  • Constructor Details

    • Category

      public Category()
  • Method Details

    • getId

      public String getId()
      The context ID of the category
      Specified by:
      getId in interface CatalogItem
      Returns:
      The ID of the CatalogItem.
    • getDefaultSort

      public String getDefaultSort()
    • getProductMembershipType

      public String getProductMembershipType()
    • getProductMembershipRule

      public String getProductMembershipRule()
    • getProductIds

      public List<String> getProductIds()
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Map of any additional attributes for the product.
      Specified by:
      getAdditionalAttributes in interface CatalogItem
      Returns:
      any additional attributes passed in the request not matching any defined properties.
    • setId

      public void setId(String id)
      The context ID of the category
    • setDefaultSort

      public void setDefaultSort(String defaultSort)
    • setProductMembershipType

      public void setProductMembershipType(String productMembershipType)
    • setProductMembershipRule

      public void setProductMembershipRule(String productMembershipRule)
    • setProductIds

      public void setProductIds(List<String> productIds)
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Map of any additional attributes for the product.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object