Class CountryModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CountryModel
    extends C2LItemModel
    Generated model class for type Country first defined at extension core.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _ZONECOUNTRYRELATION

        public static final java.lang.String _ZONECOUNTRYRELATION
        Generated relation code constant for relation ZoneCountryRelation defining source attribute zones in extension deliveryzone.
        See Also:
        Constant Field Values
      • REGIONS

        public static final java.lang.String REGIONS
        Generated constant - Attribute key of Country.regions attribute defined at extension core.
        See Also:
        Constant Field Values
      • ZONES

        public static final java.lang.String ZONES
        Generated constant - Attribute key of Country.zones attribute defined at extension deliveryzone.
        See Also:
        Constant Field Values
      • BASESTORES

        public static final java.lang.String BASESTORES
        Generated constant - Attribute key of Country.baseStores attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • BILLINGBASESTORES

        public static final java.lang.String BILLINGBASESTORES
        Generated constant - Attribute key of Country.billingBaseStores attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • SAPCODE

        public static final java.lang.String SAPCODE
        Generated constant - Attribute key of Country.sapCode attribute defined at extension sapmodel.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CountryModel

        public CountryModel()
        Generated constructor - Default constructor for generic creation.
      • CountryModel

        public CountryModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CountryModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CountryModel​(java.lang.String _isocode)
        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 - Constructor with all mandatory attributes.
        Parameters:
        _isocode - initial attribute declared by type Country at extension core
      • CountryModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CountryModel​(java.lang.String _isocode,
                            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:
        _isocode - initial attribute declared by type Country at extension core
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getBaseStores

        @Accessor(qualifier="baseStores",
                  type=GETTER)
        public java.util.Set<BaseStoreModel> getBaseStores()
        Generated method - Getter of the Country.baseStores attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the baseStores
      • getBillingBaseStores

        @Accessor(qualifier="billingBaseStores",
                  type=GETTER)
        public java.util.Set<BaseStoreModel> getBillingBaseStores()
        Generated method - Getter of the Country.billingBaseStores attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the billingBaseStores
      • getRegions

        @Accessor(qualifier="regions",
                  type=GETTER)
        public java.util.Collection<RegionModel> getRegions()
        Generated method - Getter of the Country.regions attribute defined at extension core. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the regions
      • getSapCode

        @Accessor(qualifier="sapCode",
                  type=GETTER)
        public java.lang.String getSapCode()
        Generated method - Getter of the Country.sapCode attribute defined at extension sapmodel.
        Returns:
        the sapCode - SAP Code (ERP Table T005 field LAND1)
      • getZones

        @Accessor(qualifier="zones",
                  type=GETTER)
        public java.util.Set<ZoneModel> getZones()
        Generated method - Getter of the Country.zones attribute defined at extension deliveryzone. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the zones
      • setBaseStores

        @Accessor(qualifier="baseStores",
                  type=SETTER)
        public void setBaseStores​(java.util.Set<BaseStoreModel> value)
        Generated method - Setter of Country.baseStores attribute defined at extension commerceservices.
        Parameters:
        value - the baseStores
      • setBillingBaseStores

        @Accessor(qualifier="billingBaseStores",
                  type=SETTER)
        public void setBillingBaseStores​(java.util.Set<BaseStoreModel> value)
        Generated method - Setter of Country.billingBaseStores attribute defined at extension commerceservices.
        Parameters:
        value - the billingBaseStores
      • setRegions

        @Accessor(qualifier="regions",
                  type=SETTER)
        public void setRegions​(java.util.Collection<RegionModel> value)
        Generated method - Setter of Country.regions attribute defined at extension core.
        Parameters:
        value - the regions
      • setSapCode

        @Accessor(qualifier="sapCode",
                  type=SETTER)
        public void setSapCode​(java.lang.String value)
        Generated method - Setter of Country.sapCode attribute defined at extension sapmodel.
        Parameters:
        value - the sapCode - SAP Code (ERP Table T005 field LAND1)
      • setZones

        @Accessor(qualifier="zones",
                  type=SETTER)
        public void setZones​(java.util.Set<ZoneModel> value)
        Generated method - Setter of Country.zones attribute defined at extension deliveryzone.
        Parameters:
        value - the zones