public class StoreLocatorFeatureModel extends ItemModel
Store locator feature describes single feature that store point of service supports.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_STORELOCATION2STORELOCATORFEATURE
Generated relation code constant for relation
StoreLocation2StoreLocatorFeature defining source attribute pointOfServices in extension commerceservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CODE
Generated constant - Attribute key of
StoreLocatorFeature.code attribute defined at extension commerceservices. |
static String |
ICON
Generated constant - Attribute key of
StoreLocatorFeature.icon attribute defined at extension commerceservices. |
static String |
NAME
Generated constant - Attribute key of
StoreLocatorFeature.name attribute defined at extension commerceservices. |
static String |
POINTOFSERVICES
Generated constant - Attribute key of
StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
StoreLocatorFeatureModel()
Generated constructor - Default constructor for generic creation.
|
StoreLocatorFeatureModel(ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
StoreLocatorFeatureModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Generated method - Getter of the
StoreLocatorFeature.code attribute defined at extension commerceservices. |
MediaModel |
getIcon()
Generated method - Getter of the
StoreLocatorFeature.icon attribute defined at extension commerceservices. |
String |
getName()
Generated method - Getter of the
StoreLocatorFeature.name attribute defined at extension commerceservices. |
String |
getName(Locale loc)
Generated method - Getter of the
StoreLocatorFeature.name attribute defined at extension commerceservices. |
Collection<PointOfServiceModel> |
getPointOfServices()
Generated method - Getter of the
StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices. |
void |
setCode(String value)
Generated method - Setter of
StoreLocatorFeature.code attribute defined at extension commerceservices. |
void |
setIcon(MediaModel value)
Generated method - Setter of
StoreLocatorFeature.icon attribute defined at extension commerceservices. |
void |
setName(String value)
Generated method - Setter of
StoreLocatorFeature.name attribute defined at extension commerceservices. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
StoreLocatorFeature.name attribute defined at extension commerceservices. |
void |
setPointOfServices(Collection<PointOfServiceModel> value)
Generated method - Setter of
StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices. |
getComments, 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 _STORELOCATION2STORELOCATORFEATURE
StoreLocation2StoreLocatorFeature defining source attribute pointOfServices in extension commerceservices.public static final String CODE
StoreLocatorFeature.code attribute defined at extension commerceservices.public static final String NAME
StoreLocatorFeature.name attribute defined at extension commerceservices.public static final String ICON
StoreLocatorFeature.icon attribute defined at extension commerceservices.public static final String POINTOFSERVICES
StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices.public StoreLocatorFeatureModel()
public StoreLocatorFeatureModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public StoreLocatorFeatureModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="code", type=GETTER) public String getCode()
StoreLocatorFeature.code attribute defined at extension commerceservices.@Accessor(qualifier="icon", type=GETTER) public MediaModel getIcon()
StoreLocatorFeature.icon attribute defined at extension commerceservices.@Accessor(qualifier="name", type=GETTER) public String getName()
StoreLocatorFeature.name attribute defined at extension commerceservices.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
StoreLocatorFeature.name attribute defined at extension commerceservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="pointOfServices", type=GETTER) public Collection<PointOfServiceModel> getPointOfServices()
StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
StoreLocatorFeature.code attribute defined at extension commerceservices.value - the code - Unique code of store locator feature.@Accessor(qualifier="icon", type=SETTER) public void setIcon(MediaModel value)
StoreLocatorFeature.icon attribute defined at extension commerceservices.value - the icon - Icon that can represent the feature@Accessor(qualifier="name", type=SETTER) public void setName(String value)
StoreLocatorFeature.name attribute defined at extension commerceservices.value - the name - Description of the store locator feature@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
StoreLocatorFeature.name attribute defined at extension commerceservices.value - the name - Description of the store locator featureloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="pointOfServices", type=SETTER) public void setPointOfServices(Collection<PointOfServiceModel> value)
StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices.value - the pointOfServicesCopyright © 2017 SAP SE. All Rights Reserved.