Class CountryModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class CountryModel extends C2LItemModel
Generated model class for type Country first defined at extension core.
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated relation code constant for relation ZoneCountryRelation defining source attribute zones in extension deliveryzone.
    static final String
    Generated constant - Attribute key of Country.baseStores attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of Country.billingBaseStores attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of Country.regions attribute defined at extension core.
    static final String
    Generated constant - Attribute key of Country.zones attribute defined at extension deliveryzone.

    Fields inherited from class de.hybris.platform.core.model.c2l.C2LItemModel

    ACTIVE, ISOCODE, NAME

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    CountryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Country.baseStores attribute defined at extension commerceservices.
    Generated method - Getter of the Country.billingBaseStores attribute defined at extension commerceservices.
    Generated method - Getter of the Country.regions attribute defined at extension core.
    Generated method - Getter of the Country.zones attribute defined at extension deliveryzone.
    void
    Generated method - Setter of Country.baseStores attribute defined at extension commerceservices.
    void
    Generated method - Setter of Country.billingBaseStores attribute defined at extension commerceservices.
    void
    Generated method - Setter of Country.regions attribute defined at extension core.
    void
    Generated method - Setter of Country.zones attribute defined at extension deliveryzone.

    Methods inherited from class de.hybris.platform.core.model.c2l.C2LItemModel

    getActive, getIsocode, getName, getName, setActive, setIsocode, setName, setName

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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(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
    • 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