Class RegionModel

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

public class RegionModel extends C2LItemModel
Generated model class for type Region 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 relation code constant for relation Country2RegionRelation defining source attribute country in extension core.
    static final String
    Generated relation code constant for relation PDTRow2Region defining source attribute pdtRows in extension tuadatacommonsservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Region.country attribute defined at extension core.
    static final String
    Generated constant - Attribute key of Region.isocodeShort attribute defined at extension commerceservices.
    static final String
    Generated constant - Attribute key of Region.pdtRows attribute defined at extension tuadatacommonsservices.

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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Region.country attribute defined at extension core.
    Generated method - Getter of the Region.isocodeShort attribute defined at extension commerceservices.
    Generated method - Getter of the Region.pdtRows attribute defined at extension tuadatacommonsservices.
    void
    Generated method - Setter of Region.country attribute defined at extension core.
    void
    Generated method - Setter of Region.isocodeShort attribute defined at extension commerceservices.
    void
    Generated method - Setter of Region.pdtRows attribute defined at extension tuadatacommonsservices.

    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:
    • _COUNTRY2REGIONRELATION

      public static final String _COUNTRY2REGIONRELATION
      Generated relation code constant for relation Country2RegionRelation defining source attribute country in extension core.
      See Also:
    • _PDTROW2REGION

      public static final String _PDTROW2REGION
      Generated relation code constant for relation PDTRow2Region defining source attribute pdtRows in extension tuadatacommonsservices.
      See Also:
    • COUNTRY

      public static final String COUNTRY
      Generated constant - Attribute key of Region.country attribute defined at extension core.
      See Also:
    • ISOCODESHORT

      public static final String ISOCODESHORT
      Generated constant - Attribute key of Region.isocodeShort attribute defined at extension commerceservices.
      See Also:
    • PDTROWS

      public static final String PDTROWS
      Generated constant - Attribute key of Region.pdtRows attribute defined at extension tuadatacommonsservices.
      See Also:
  • Constructor Details

    • RegionModel

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

      public RegionModel(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
    • RegionModel

      @Deprecated(since="4.1.1", forRemoval=true) public RegionModel(CountryModel _country, 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:
      _country - initial attribute declared by type Region at extension core
      _isocode - initial attribute declared by type Region at extension core
    • RegionModel

      @Deprecated(since="4.1.1", forRemoval=true) public RegionModel(CountryModel _country, 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:
      _country - initial attribute declared by type Region at extension core
      _isocode - initial attribute declared by type Region at extension core
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCountry

      @Accessor(qualifier="country", type=GETTER) public CountryModel getCountry()
      Generated method - Getter of the Region.country attribute defined at extension core.
      Returns:
      the country
    • getIsocodeShort

      @Accessor(qualifier="isocodeShort", type=GETTER) public String getIsocodeShort()
      Generated method - Getter of the Region.isocodeShort attribute defined at extension commerceservices.
      Returns:
      the isocodeShort - 2 character isocode
    • getPdtRows

      @Accessor(qualifier="pdtRows", type=GETTER) public Set<PDTRowModel> getPdtRows()
      Generated method - Getter of the Region.pdtRows attribute defined at extension tuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the pdtRows - PDTRow
    • setCountry

      @Accessor(qualifier="country", type=SETTER) public void setCountry(CountryModel value)
      Generated method - Setter of Region.country attribute defined at extension core.
      Parameters:
      value - the country
    • setIsocodeShort

      @Accessor(qualifier="isocodeShort", type=SETTER) public void setIsocodeShort(String value)
      Generated method - Setter of Region.isocodeShort attribute defined at extension commerceservices.
      Parameters:
      value - the isocodeShort - 2 character isocode
    • setPdtRows

      @Accessor(qualifier="pdtRows", type=SETTER) public void setPdtRows(Set<PDTRowModel> value)
      Generated method - Setter of Region.pdtRows attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the pdtRows - PDTRow