Class VariantValueCategoryModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.category.model.CategoryModel
de.hybris.platform.variants.model.VariantValueCategoryModel
- All Implemented Interfaces:
Serializable
Generated model class for type VariantValueCategory first defined at extension basecommerce.
Value category for variant types (it defines the dimensions).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofVariantValueCategory.colorCodeattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofVariantValueCategory.sequenceattribute defined at extensionbasecommerce.Fields inherited from class de.hybris.platform.category.model.CategoryModel
_CATEGORIESFORPRODUCTCAROUSELCOMPONENT, _CATEGORIESFORRESTRICTION, _CATEGORYCATEGORYRELATION, _CATEGORYFEATURECOMPONENTS2CATEGORYREL, _PRODUCTLISTCOMPONENTSFORCATEGORY, ALLOWEDPRINCIPALS, ALLSUBCATEGORIES, ALLSUPERCATEGORIES, CATALOG, CATALOGVERSION, CATEGORIES, CATEGORYFEATURECOMPONENTS, CODE, DATA_SHEET, DESCRIPTION, DETAIL, KEYWORDS, LINKCOMPONENTS, LOGO, MEDIAS, NAME, NORMAL, ORDER, OTHERS, PICTURE, PRODUCTCAROUSELCOMPONENTS, PRODUCTLISTCOMPONENTS, PRODUCTS, PROMOTIONS, RESTRICTIONS, SIMPLEBANNERCOMPONENTS, SIMPLERESPONSIVEBANNERCOMPONENTS, STOCKLEVELTHRESHOLD, SUPERCATEGORIES, THUMBNAIL, THUMBNAILS, VIDEOCOMPONENTSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.VariantValueCategoryModel(CatalogVersionModel _catalogVersion, String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVariantValueCategoryModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersVariantValueCategoryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theVariantValueCategory.colorCodeattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theVariantValueCategory.sequenceattribute defined at extensionbasecommerce.voidsetColorCode(String value) Generated method - Setter ofVariantValueCategory.colorCodeattribute defined at extensiontuadatacommonsservices.voidsetSequence(Integer value) Generated method - Setter ofVariantValueCategory.sequenceattribute defined at extensionbasecommerce.Methods inherited from class de.hybris.platform.category.model.CategoryModel
getAllowedPrincipals, getAllSubcategories, getAllSupercategories, getCatalogVersion, getCategories, getCategoryFeatureComponents, getCode, getData_sheet, getDescription, getDescription, getDetail, getKeywords, getKeywords, getLinkComponents, getLogo, getMedias, getName, getName, getNormal, getOrder, getOthers, getPicture, getProductCarouselComponents, getProductListComponents, getProducts, getPromotions, getRestrictions, getSimpleBannerComponents, getSimpleResponsiveBannerComponents, getStockLevelThreshold, getSupercategories, getThumbnail, getThumbnails, getVideoComponents, setAllowedPrincipals, setCatalogVersion, setCategories, setCategoryFeatureComponents, setCode, setData_sheet, setDescription, setDescription, setDetail, setKeywords, setKeywords, setLinkComponents, setLogo, setMedias, setName, setName, setNormal, setOrder, setOthers, setPicture, setProductCarouselComponents, setProductListComponents, setProducts, setPromotions, setRestrictions, setSimpleBannerComponents, setSimpleResponsiveBannerComponents, setStockLevelThreshold, setSupercategories, setThumbnail, setThumbnails, setVideoComponentsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SEQUENCE
Generated constant - Attribute key ofVariantValueCategory.sequenceattribute defined at extensionbasecommerce.- See Also:
-
COLORCODE
Generated constant - Attribute key ofVariantValueCategory.colorCodeattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
VariantValueCategoryModel
public VariantValueCategoryModel()Generated constructor - Default constructor for generic creation. -
VariantValueCategoryModel
public VariantValueCategoryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
VariantValueCategoryModel
@Deprecated(since="4.1.1", forRemoval=true) public VariantValueCategoryModel(CatalogVersionModel _catalogVersion, String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCategoryat extensioncatalog_code- initial attribute declared by typeCategoryat extensioncatalog
-
VariantValueCategoryModel
@Deprecated(since="4.1.1", forRemoval=true) public VariantValueCategoryModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCategoryat extensioncatalog_code- initial attribute declared by typeCategoryat extensioncatalog_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getColorCode
Generated method - Getter of theVariantValueCategory.colorCodeattribute defined at extensiontuadatacommonsservices.- Returns:
- the colorCode - The hex code of the color, used for color variants.
-
getSequence
Generated method - Getter of theVariantValueCategory.sequenceattribute defined at extensionbasecommerce.- Returns:
- the sequence
-
setColorCode
Generated method - Setter ofVariantValueCategory.colorCodeattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the colorCode - The hex code of the color, used for color variants.
-
setSequence
Generated method - Setter ofVariantValueCategory.sequenceattribute defined at extensionbasecommerce.- Parameters:
value- the sequence
-