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

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:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _STORELOCATION2STORELOCATORFEATURE

      public static final String _STORELOCATION2STORELOCATORFEATURE
      Generated relation code constant for relation StoreLocation2StoreLocatorFeature defining source attribute pointOfServices in extension commerceservices.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of StoreLocatorFeature.code attribute defined at extension commerceservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of StoreLocatorFeature.name attribute defined at extension commerceservices.
      See Also:
    • ICON

      public static final String ICON
      Generated constant - Attribute key of StoreLocatorFeature.icon attribute defined at extension commerceservices.
      See Also:
    • POINTOFSERVICES

      public static final String POINTOFSERVICES
      Generated constant - Attribute key of StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the StoreLocatorFeature.code attribute defined at extension commerceservices.
      Returns:
      the code - Unique code of store locator feature.
    • getIcon

      @Accessor(qualifier="icon", type=GETTER) public MediaModel getIcon()
      Generated method - Getter of the StoreLocatorFeature.icon attribute defined at extension commerceservices.
      Returns:
      the icon - Icon that can represent the feature
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the StoreLocatorFeature.name attribute defined at extension commerceservices.
      Returns:
      the name - Description of the store locator feature
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the StoreLocatorFeature.name attribute defined at extension commerceservices.
      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 the StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the pointOfServices
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of StoreLocatorFeature.code attribute defined at extension commerceservices.
      Parameters:
      value - the code - Unique code of store locator feature.
    • setIcon

      @Accessor(qualifier="icon", type=SETTER) public void setIcon(MediaModel value)
      Generated method - Setter of StoreLocatorFeature.icon attribute defined at extension commerceservices.
      Parameters:
      value - the icon - Icon that can represent the feature
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of StoreLocatorFeature.name attribute defined at extension commerceservices.
      Parameters:
      value - the name - Description of the store locator feature
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of StoreLocatorFeature.name attribute defined at extension commerceservices.
      Parameters:
      value - the name - Description of the store locator feature
      loc - 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 of StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices.
      Parameters:
      value - the pointOfServices