public class ProductDetailComponentModel extends SimpleCMSComponentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
PRODUCT
Generated constant - Attribute key of
ProductDetailComponent.product attribute defined at extension cms2lib. |
static java.lang.String |
PRODUCTCODE
Generated constant - Attribute key of
ProductDetailComponent.productCode attribute defined at extension cms2lib. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductDetailComponentModel()
Generated constructor - Default constructor for generic creation.
|
ProductDetailComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductDetailComponentModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductDetailComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
ProductModel |
getProduct()
Generated method - Getter of the
ProductDetailComponent.product attribute defined at extension cms2lib. |
java.lang.String |
getProductCode()
Generated method - Getter of the
ProductDetailComponent.productCode attribute defined at extension cms2lib. |
void |
setProduct(ProductModel value)
Generated method - Setter of
ProductDetailComponent.product attribute defined at extension cms2lib. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String PRODUCTCODE
ProductDetailComponent.productCode attribute defined at extension cms2lib.public static final java.lang.String PRODUCT
ProductDetailComponent.product attribute defined at extension cms2lib.public ProductDetailComponentModel()
public ProductDetailComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductDetailComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public ProductDetailComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
ProductDetailComponent.product attribute defined at extension cms2lib.@Accessor(qualifier="productCode", type=GETTER) public java.lang.String getProductCode()
ProductDetailComponent.productCode attribute defined at extension cms2lib.@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
ProductDetailComponent.product attribute defined at extension cms2lib.value - the productCopyright © 2018 SAP SE. All Rights Reserved.