Class RegionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.c2l.C2LItemModel
de.hybris.platform.core.model.c2l.RegionModel
- All Implemented Interfaces:
Serializable
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCountry2RegionRelationdefining source attributecountryin extensioncore.static final StringGenerated relation code constant for relationPDTRow2Regiondefining source attributepdtRowsin extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofRegion.countryattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofRegion.isocodeShortattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofRegion.pdtRowsattribute defined at extensiontuadatacommonsservices.Fields inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
ACTIVE, ISOCODE, NAMEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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 parametersRegionModel(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 parametersRegionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theRegion.countryattribute defined at extensioncore.Generated method - Getter of theRegion.isocodeShortattribute defined at extensioncommerceservices.Generated method - Getter of theRegion.pdtRowsattribute defined at extensiontuadatacommonsservices.voidsetCountry(CountryModel value) Generated method - Setter ofRegion.countryattribute defined at extensioncore.voidsetIsocodeShort(String value) Generated method - Setter ofRegion.isocodeShortattribute defined at extensioncommerceservices.voidsetPdtRows(Set<PDTRowModel> value) Generated method - Setter ofRegion.pdtRowsattribute defined at extensiontuadatacommonsservices.Methods inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
getActive, getIsocode, getName, getName, setActive, setIsocode, setName, setNameMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_COUNTRY2REGIONRELATION
Generated relation code constant for relationCountry2RegionRelationdefining source attributecountryin extensioncore.- See Also:
-
_PDTROW2REGION
Generated relation code constant for relationPDTRow2Regiondefining source attributepdtRowsin extensiontuadatacommonsservices.- See Also:
-
COUNTRY
Generated constant - Attribute key ofRegion.countryattribute defined at extensioncore.- See Also:
-
ISOCODESHORT
Generated constant - Attribute key ofRegion.isocodeShortattribute defined at extensioncommerceservices.- See Also:
-
PDTROWS
Generated constant - Attribute key ofRegion.pdtRowsattribute defined at extensiontuadatacommonsservices.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_country- initial attribute declared by typeRegionat extensioncore_isocode- initial attribute declared by typeRegionat extensioncore
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_country- initial attribute declared by typeRegionat extensioncore_isocode- initial attribute declared by typeRegionat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCountry
Generated method - Getter of theRegion.countryattribute defined at extensioncore.- Returns:
- the country
-
getIsocodeShort
Generated method - Getter of theRegion.isocodeShortattribute defined at extensioncommerceservices.- Returns:
- the isocodeShort - 2 character isocode
-
getPdtRows
Generated method - Getter of theRegion.pdtRowsattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pdtRows - PDTRow
-
setCountry
Generated method - Setter ofRegion.countryattribute defined at extensioncore.- Parameters:
value- the country
-
setIsocodeShort
Generated method - Setter ofRegion.isocodeShortattribute defined at extensioncommerceservices.- Parameters:
value- the isocodeShort - 2 character isocode
-
setPdtRows
Generated method - Setter ofRegion.pdtRowsattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the pdtRows - PDTRow
-