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:
Serializable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationStoreLocation2StoreLocatorFeaturedefining source attributepointOfServicesin extensioncommerceservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theStoreLocatorFeature.codeattribute defined at extensioncommerceservices.getIcon()Generated method - Getter of theStoreLocatorFeature.iconattribute defined at extensioncommerceservices.getName()Generated method - Getter of theStoreLocatorFeature.nameattribute defined at extensioncommerceservices.Generated method - Getter of theStoreLocatorFeature.nameattribute defined at extensioncommerceservices.Generated method - Getter of theStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.voidGenerated method - Setter ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.voidsetIcon(MediaModel value) Generated method - Setter ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.voidGenerated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.voidGenerated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.voidGenerated 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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_STORELOCATION2STORELOCATORFEATURE
Generated relation code constant for relationStoreLocation2StoreLocatorFeaturedefining source attributepointOfServicesin extensioncommerceservices.- See Also:
-
CODE
Generated constant - Attribute key ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.- See Also:
-
NAME
Generated constant - Attribute key ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- See Also:
-
ICON
Generated constant - Attribute key ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.- See Also:
-
POINTOFSERVICES
Generated constant - Attribute key ofStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
StoreLocatorFeatureModel
public StoreLocatorFeatureModel()Generated constructor - Default constructor for generic creation. -
StoreLocatorFeatureModel
public StoreLocatorFeatureModel(de.hybris.platform.servicelayer.model.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, 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 Details
-
getCode
Generated method - Getter of theStoreLocatorFeature.codeattribute defined at extensioncommerceservices.- Returns:
- the code - Unique code of store locator feature.
-
getIcon
Generated method - Getter of theStoreLocatorFeature.iconattribute defined at extensioncommerceservices.- Returns:
- the icon - Icon that can represent the feature
-
getName
Generated method - Getter of theStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- Returns:
- the name - Description of the store locator feature
-
getName
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:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getPointOfServices
@Accessor(qualifier="pointOfServices", type=GETTER) public 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
Generated method - Setter ofStoreLocatorFeature.codeattribute defined at extensioncommerceservices.- Parameters:
value- the code - Unique code of store locator feature.
-
setIcon
Generated method - Setter ofStoreLocatorFeature.iconattribute defined at extensioncommerceservices.- Parameters:
value- the icon - Icon that can represent the feature
-
setName
Generated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- Parameters:
value- the name - Description of the store locator feature
-
setName
Generated method - Setter ofStoreLocatorFeature.nameattribute defined at extensioncommerceservices.- Parameters:
value- the name - Description of the store locator featureloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setPointOfServices
@Accessor(qualifier="pointOfServices", type=SETTER) public void setPointOfServices(Collection<PointOfServiceModel> value) Generated method - Setter ofStoreLocatorFeature.pointOfServicesattribute defined at extensioncommerceservices.- Parameters:
value- the pointOfServices
-