Class StoreLocatorFeatureModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.commerceservices.model.storelocator.StoreLocatorFeatureModel
-
- All Implemented Interfaces:
java.io.Serializable
public class StoreLocatorFeatureModel extends ItemModel
Generated model class for type StoreLocatorFeature first defined at extension commerceservices.Store locator feature describes single feature that store point of service supports.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_STORELOCATION2STORELOCATORFEATUREGenerated relation code constant for relationStoreLocation2StoreLocatorFeaturedefining source attributepointOfServicesin extensioncommerceservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCODEGenerated constant - Attribute key ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.static java.lang.StringICONGenerated constant - Attribute key ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.static java.lang.StringNAMEGenerated constant - Attribute key ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.static java.lang.StringPOINTOFSERVICESGenerated constant - Attribute key ofStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description StoreLocatorFeatureModel()Generated constructor - Default constructor for generic creation.StoreLocatorFeatureModel(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 parametersStoreLocatorFeatureModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Generated method - Getter of theStoreLocatorFeature.codeattribute defined at extensioncommerceservices.MediaModelgetIcon()Generated method - Getter of theStoreLocatorFeature.iconattribute defined at extensioncommerceservices.java.lang.StringgetName()Generated method - Getter of theStoreLocatorFeature.nameattribute defined at extensioncommerceservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theStoreLocatorFeature.nameattribute defined at extensioncommerceservices.java.util.Collection<PointOfServiceModel>getPointOfServices()Generated method - Getter of theStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.voidsetCode(java.lang.String value)Generated method - Setter ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.voidsetIcon(MediaModel value)Generated method - Setter ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.voidsetName(java.lang.String value)Generated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.voidsetPointOfServices(java.util.Collection<PointOfServiceModel> value)Generated method - Setter ofStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_STORELOCATION2STORELOCATORFEATURE
public static final java.lang.String _STORELOCATION2STORELOCATORFEATURE
Generated relation code constant for relationStoreLocation2StoreLocatorFeaturedefining source attributepointOfServicesin extensioncommerceservices.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
ICON
public static final java.lang.String ICON
Generated constant - Attribute key ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
POINTOFSERVICES
public static final java.lang.String POINTOFSERVICES
Generated constant - Attribute key ofStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StoreLocatorFeatureModel
public StoreLocatorFeatureModel()
Generated constructor - Default constructor for generic creation.
-
StoreLocatorFeatureModel
public StoreLocatorFeatureModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
StoreLocatorFeatureModel
@Deprecated(since="4.1.1", forRemoval=true) public StoreLocatorFeatureModel(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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theStoreLocatorFeature.codeattribute defined at extensioncommerceservices.- Returns:
- the code - Unique code of store locator feature.
-
getIcon
@Accessor(qualifier="icon", type=GETTER) public MediaModel getIcon()
Generated method - Getter of theStoreLocatorFeature.iconattribute defined at extensioncommerceservices.- Returns:
- the icon - Icon that can represent the feature
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- Returns:
- the name - Description of the store locator feature
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- Parameters:
loc- the value localization key- Returns:
- the name - Description of the store locator feature
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getPointOfServices
@Accessor(qualifier="pointOfServices", type=GETTER) public java.util.Collection<PointOfServiceModel> getPointOfServices()
Generated method - Getter of theStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pointOfServices
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.- Parameters:
value- the code - Unique code of store locator feature.
-
setIcon
@Accessor(qualifier="icon", type=SETTER) public void setIcon(MediaModel value)
Generated method - Setter ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.- Parameters:
value- the icon - Icon that can represent the feature
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- Parameters:
value- the name - Description of the store locator feature
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- Parameters:
value- the name - Description of the store locator featureloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setPointOfServices
@Accessor(qualifier="pointOfServices", type=SETTER) public void setPointOfServices(java.util.Collection<PointOfServiceModel> value)
Generated method - Setter ofStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.- Parameters:
value- the pointOfServices
-
-