Class Category
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Category
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProductOfferingItem(ProductOfferingRef productOfferingItem) addSubCategoryItem(CategoryRef subCategoryItem) addSuperCategoryItem(CategoryRef superCategoryItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) description(String description) booleanthe base class type of the categorylink to the schema describing this categorythe class type of the CategoryDescription of the categorygetHref()Reference of the cataloggetId()Unique identifier of the category@Valid DateDate and time of the last updateUsed to indicate the current lifecycle statusgetName()Name of the categoryUnique identifier of the parent category@Valid List<ProductOfferingRef>Get productOffering@Valid List<CategoryRef>Get subCategory@Valid List<CategoryRef>Get superCategorygetType()Category type, can be Category,VariantCategory or VariantValueCategory.@Valid TimePeriodGet validForCategory versioninthashCode()isIsRoot()If true, this Boolean indicates that the category is a root of categorieslastUpdate(Date lastUpdate) lifecycleStatus(String lifecycleStatus) productOffering(List<ProductOfferingRef> productOffering) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetDescription(String description) voidvoidvoidvoidsetLastUpdate(Date lastUpdate) voidsetLifecycleStatus(String lifecycleStatus) voidvoidsetParentId(String parentId) voidsetProductOffering(List<ProductOfferingRef> productOffering) voidsetSubCategory(List<CategoryRef> subCategory) voidsetSuperCategory(List<CategoryRef> superCategory) voidvoidsetValidFor(TimePeriod validFor) voidsetVersion(String version) subCategory(List<CategoryRef> subCategory) superCategory(List<CategoryRef> superCategory) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
id
-
getId
Unique identifier of the category- Returns:
- id
-
setId
-
href
-
getHref
Reference of the catalog- Returns:
- href
-
setHref
-
lastUpdate
-
getLastUpdate
Date and time of the last update- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Category version- Returns:
- version
-
setVersion
-
lifecycleStatus
-
getLifecycleStatus
Used to indicate the current lifecycle status- Returns:
- lifecycleStatus
-
setLifecycleStatus
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
parentId
-
getParentId
Unique identifier of the parent category- Returns:
- parentId
-
setParentId
-
isRoot
-
isIsRoot
If true, this Boolean indicates that the category is a root of categories- Returns:
- isRoot
-
setIsRoot
-
name
-
getName
Name of the category- Returns:
- name
-
setName
-
description
-
getDescription
Description of the category- Returns:
- description
-
setDescription
-
type
-
getType
Category type, can be Category,VariantCategory or VariantValueCategory.- Returns:
- type
-
setType
-
atType
-
getAtType
the class type of the Category- Returns:
- atType
-
setAtType
-
atBaseType
-
getAtBaseType
the base class type of the category- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
link to the schema describing this category- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
subCategory
-
addSubCategoryItem
-
getSubCategory
Get subCategory- Returns:
- subCategory
-
setSubCategory
-
superCategory
-
addSuperCategoryItem
-
getSuperCategory
Get superCategory- Returns:
- superCategory
-
setSuperCategory
-
productOffering
-
addProductOfferingItem
-
getProductOffering
Get productOffering- Returns:
- productOffering
-
setProductOffering
-
equals
-
hashCode
public int hashCode() -
toString
-