java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Category

public class Category extends Object
The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource or service candidates.
  • Constructor Details

    • Category

      public Category()
  • Method Details

    • id

      public Category id(String id)
    • getId

      public String getId()
      Unique identifier of the category
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public Category href(String href)
    • getHref

      public String getHref()
      Reference of the catalog
      Returns:
      href
    • setHref

      public void setHref(String href)
    • lastUpdate

      public Category lastUpdate(Date lastUpdate)
    • getLastUpdate

      @Valid public @Valid Date getLastUpdate()
      Date and time of the last update
      Returns:
      lastUpdate
    • setLastUpdate

      public void setLastUpdate(Date lastUpdate)
    • version

      public Category version(String version)
    • getVersion

      public String getVersion()
      Category version
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • lifecycleStatus

      public Category lifecycleStatus(String lifecycleStatus)
    • getLifecycleStatus

      public String getLifecycleStatus()
      Used to indicate the current lifecycle status
      Returns:
      lifecycleStatus
    • setLifecycleStatus

      public void setLifecycleStatus(String lifecycleStatus)
    • validFor

      public Category validFor(TimePeriod validFor)
    • getValidFor

      @Valid public @Valid TimePeriod getValidFor()
      Get validFor
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
    • parentId

      public Category parentId(String parentId)
    • getParentId

      public String getParentId()
      Unique identifier of the parent category
      Returns:
      parentId
    • setParentId

      public void setParentId(String parentId)
    • isRoot

      public Category isRoot(Boolean isRoot)
    • isIsRoot

      public Boolean isIsRoot()
      If true, this Boolean indicates that the category is a root of categories
      Returns:
      isRoot
    • setIsRoot

      public void setIsRoot(Boolean isRoot)
    • name

      public Category name(String name)
    • getName

      public String getName()
      Name of the category
      Returns:
      name
    • setName

      public void setName(String name)
    • description

      public Category description(String description)
    • getDescription

      public String getDescription()
      Description of the category
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • type

      public Category type(String type)
    • getType

      public String getType()
      Category type, can be Category,VariantCategory or VariantValueCategory.
      Returns:
      type
    • setType

      public void setType(String type)
    • atType

      public Category atType(String atType)
    • getAtType

      public String getAtType()
      the class type of the Category
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atBaseType

      public Category atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      the base class type of the category
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public Category atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      link to the schema describing this category
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • subCategory

      public Category subCategory(List<CategoryRef> subCategory)
    • addSubCategoryItem

      public Category addSubCategoryItem(CategoryRef subCategoryItem)
    • getSubCategory

      @Valid public @Valid List<CategoryRef> getSubCategory()
      Get subCategory
      Returns:
      subCategory
    • setSubCategory

      public void setSubCategory(List<CategoryRef> subCategory)
    • superCategory

      public Category superCategory(List<CategoryRef> superCategory)
    • addSuperCategoryItem

      public Category addSuperCategoryItem(CategoryRef superCategoryItem)
    • getSuperCategory

      @Valid public @Valid List<CategoryRef> getSuperCategory()
      Get superCategory
      Returns:
      superCategory
    • setSuperCategory

      public void setSuperCategory(List<CategoryRef> superCategory)
    • productOffering

      public Category productOffering(List<ProductOfferingRef> productOffering)
    • addProductOfferingItem

      public Category addProductOfferingItem(ProductOfferingRef productOfferingItem)
    • getProductOffering

      @Valid public @Valid List<ProductOfferingRef> getProductOffering()
      Get productOffering
      Returns:
      productOffering
    • setProductOffering

      public void setProductOffering(List<ProductOfferingRef> productOffering)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object