Class CountryModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

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

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

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

      public static final String BILLINGBASESTORES
      Generated constant - Attribute key of Country.billingBaseStores attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • 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(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(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 Details

    • getBaseStores

      @Accessor(qualifier="baseStores", type=GETTER) public 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 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 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
    • getZones

      @Accessor(qualifier="zones", type=GETTER) public 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(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(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(Collection<RegionModel> value)
      Generated method - Setter of Country.regions attribute defined at extension core.
      Parameters:
      value - the regions
    • setZones

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