public class VariantCategoryModel extends CategoryModel
Container category for variant types.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
HASIMAGE
Generated constant - Attribute key of
VariantCategory.hasImage attribute defined at extension basecommerce. |
_AGENTCATEGORYRELATION, _CATEGORIESFORPRODUCTCAROUSELCOMPONENT, _CATEGORIESFORRESTRICTION, _CATEGORYCATEGORYRELATION, _CATEGORYFEATURECOMPONENTS2CATEGORYREL, _PRODUCTLISTCOMPONENTSFORCATEGORY, AGENT, ALLOWEDPRINCIPALS, ALLSUBCATEGORIES, ALLSUPERCATEGORIES, ALLYFORMDEFINITIONS, CATALOG, CATALOGVERSION, CATEGORIES, CATEGORYFEATURECOMPONENTS, CODE, CONTENTBLOCKS, DATA_SHEET, DESCRIPTION, DETAIL, KEYWORDS, LINKCOMPONENTS, LOGO, MEDIAS, NAME, NORMAL, ORDER, OTHERS, PICTURE, PRODUCTCAROUSELCOMPONENTS, PRODUCTLISTCOMPONENTS, PRODUCTS, PROMOTIONS, RESTRICTIONS, STOCKLEVELTHRESHOLD, SUPERCATEGORIES, THUMBNAIL, THUMBNAILS, YFORMDEFINITIONS_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
VariantCategoryModel()
Generated constructor - Default constructor for generic creation.
|
VariantCategoryModel(CatalogVersionModel _catalogVersion,
String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
VariantCategoryModel(CatalogVersionModel _catalogVersion,
String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
VariantCategoryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getHasImage()
Generated method - Getter of the
VariantCategory.hasImage attribute defined at extension basecommerce. |
void |
setHasImage(Boolean value)
Generated method - Setter of
VariantCategory.hasImage attribute defined at extension basecommerce. |
getAgent, getAllowedPrincipals, getAllSubcategories, getAllSupercategories, getAllYFormDefinitions, getCatalogVersion, getCategories, getCategoryFeatureComponents, getCode, getContentBlocks, getData_sheet, getDescription, getDescription, getDetail, getKeywords, getKeywords, getLinkComponents, getLogo, getMedias, getName, getName, getNormal, getOrder, getOthers, getPicture, getProductCarouselComponents, getProductListComponents, getProducts, getPromotions, getRestrictions, getStockLevelThreshold, getSupercategories, getThumbnail, getThumbnails, getYFormDefinitions, setAgent, setAllowedPrincipals, setCatalogVersion, setCategories, setCategoryFeatureComponents, setCode, setContentBlocks, setData_sheet, setDescription, setDescription, setDetail, setKeywords, setKeywords, setLinkComponents, setLogo, setMedias, setName, setName, setNormal, setOrder, setOthers, setPicture, setProductCarouselComponents, setProductListComponents, setProducts, setPromotions, setRestrictions, setStockLevelThreshold, setSupercategories, setThumbnail, setThumbnails, setYFormDefinitionsgetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String HASIMAGE
VariantCategory.hasImage attribute defined at extension basecommerce.public VariantCategoryModel()
public VariantCategoryModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public VariantCategoryModel(CatalogVersionModel _catalogVersion, String _code)
_catalogVersion - initial attribute declared by type Category at extension catalog_code - initial attribute declared by type Category at extension catalog@Deprecated public VariantCategoryModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner)
_catalogVersion - initial attribute declared by type Category at extension catalog_code - initial attribute declared by type Category at extension catalog_owner - initial attribute declared by type Item at extension coreCopyright © 2017 SAP SE. All Rights Reserved.