Class 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
    • 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 relation StoreLocation2StoreLocatorFeature defining source attribute pointOfServices in extension commerceservices.
        See Also:
        Constant Field Values
      • CODE

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

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

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

        public static final java.lang.String POINTOFSERVICES
        Generated constant - Attribute key of StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices.
        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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.lang.String getName​(java.util.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:
        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 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​(java.lang.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​(java.lang.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​(java.lang.String value,
                            java.util.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:
        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 of StoreLocatorFeature.pointOfServices attribute defined at extension commerceservices.
        Parameters:
        value - the pointOfServices