public class ProductFeatureComponentModel extends SimpleCMSComponentModel
Represents product feature component that displays some commercial information about the product.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
DESCRIPTION
Generated constant - Attribute key of
ProductFeatureComponent.description attribute defined at extension acceleratorcms. |
static String |
MEDIA
Generated constant - Attribute key of
ProductFeatureComponent.media attribute defined at extension acceleratorcms. |
static String |
PRODUCT
Generated constant - Attribute key of
ProductFeatureComponent.product attribute defined at extension acceleratorcms. |
static String |
TITLE
Generated constant - Attribute key of
ProductFeatureComponent.title attribute defined at extension acceleratorcms. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductFeatureComponentModel()
Generated constructor - Default constructor for generic creation.
|
ProductFeatureComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductFeatureComponentModel(CatalogVersionModel _catalogVersion,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductFeatureComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Generated method - Getter of the
ProductFeatureComponent.description attribute defined at extension acceleratorcms. |
String |
getDescription(Locale loc)
Generated method - Getter of the
ProductFeatureComponent.description attribute defined at extension acceleratorcms. |
MediaModel |
getMedia()
Generated method - Getter of the
ProductFeatureComponent.media attribute defined at extension acceleratorcms. |
MediaModel |
getMedia(Locale loc)
Generated method - Getter of the
ProductFeatureComponent.media attribute defined at extension acceleratorcms. |
ProductModel |
getProduct()
Generated method - Getter of the
ProductFeatureComponent.product attribute defined at extension acceleratorcms. |
String |
getTitle()
Generated method - Getter of the
ProductFeatureComponent.title attribute defined at extension acceleratorcms. |
String |
getTitle(Locale loc)
Generated method - Getter of the
ProductFeatureComponent.title attribute defined at extension acceleratorcms. |
void |
setDescription(String value)
Generated method - Setter of
ProductFeatureComponent.description attribute defined at extension acceleratorcms. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
ProductFeatureComponent.description attribute defined at extension acceleratorcms. |
void |
setMedia(MediaModel value)
Generated method - Setter of
ProductFeatureComponent.media attribute defined at extension acceleratorcms. |
void |
setMedia(MediaModel value,
Locale loc)
Generated method - Setter of
ProductFeatureComponent.media attribute defined at extension acceleratorcms. |
void |
setProduct(ProductModel value)
Generated method - Setter of
ProductFeatureComponent.product attribute defined at extension acceleratorcms. |
void |
setTitle(String value)
Generated method - Setter of
ProductFeatureComponent.title attribute defined at extension acceleratorcms. |
void |
setTitle(String value,
Locale loc)
Generated method - Setter of
ProductFeatureComponent.title attribute defined at extension acceleratorcms. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, 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 TITLE
ProductFeatureComponent.title attribute defined at extension acceleratorcms.public static final String DESCRIPTION
ProductFeatureComponent.description attribute defined at extension acceleratorcms.public static final String MEDIA
ProductFeatureComponent.media attribute defined at extension acceleratorcms.public static final String PRODUCT
ProductFeatureComponent.product attribute defined at extension acceleratorcms.public ProductFeatureComponentModel()
public ProductFeatureComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductFeatureComponentModel(CatalogVersionModel _catalogVersion, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public ProductFeatureComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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="description", type=GETTER) public String getDescription()
ProductFeatureComponent.description attribute defined at extension acceleratorcms.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
ProductFeatureComponent.description attribute defined at extension acceleratorcms.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia()
ProductFeatureComponent.media attribute defined at extension acceleratorcms.@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia(Locale loc)
ProductFeatureComponent.media attribute defined at extension acceleratorcms.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
ProductFeatureComponent.product attribute defined at extension acceleratorcms.@Accessor(qualifier="title", type=GETTER) public String getTitle()
ProductFeatureComponent.title attribute defined at extension acceleratorcms.@Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
ProductFeatureComponent.title attribute defined at extension acceleratorcms.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
ProductFeatureComponent.description attribute defined at extension acceleratorcms.value - the description - Localized description of the component.@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
ProductFeatureComponent.description attribute defined at extension acceleratorcms.value - the description - Localized description of the component.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value)
ProductFeatureComponent.media attribute defined at extension acceleratorcms.value - the media - Localized media that is displayed in the component.@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value, Locale loc)
ProductFeatureComponent.media attribute defined at extension acceleratorcms.value - the media - Localized media that is displayed in the component.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
ProductFeatureComponent.product attribute defined at extension acceleratorcms.value - the product@Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
ProductFeatureComponent.title attribute defined at extension acceleratorcms.value - the title - Localized title of the component.@Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
ProductFeatureComponent.title attribute defined at extension acceleratorcms.value - the title - Localized title of the component.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.