Class CountryModel
- 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.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.String_ZONECOUNTRYRELATIONGenerated relation code constant for relationZoneCountryRelationdefining source attributezonesin extensiondeliveryzone.static java.lang.StringBASESTORESGenerated constant - Attribute key ofCountry.baseStoresattribute defined at extensioncommerceservices.static java.lang.StringBILLINGBASESTORESGenerated constant - Attribute key ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.static java.lang.StringREGIONSGenerated constant - Attribute key ofCountry.regionsattribute defined at extensioncore.static java.lang.StringSAPCODEGenerated constant - Attribute key ofCountry.sapCodeattribute defined at extensionsapmodel.static java.lang.StringZONESGenerated constant - Attribute key ofCountry.zonesattribute defined at extensiondeliveryzone.-
Fields inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
ACTIVE, ISOCODE, NAME, ZONE
-
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 CountryModel()Generated constructor - Default constructor for generic creation.CountryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextCountryModel(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 parametersCountryModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<BaseStoreModel>getBaseStores()Generated method - Getter of theCountry.baseStoresattribute defined at extensioncommerceservices.java.util.Set<BaseStoreModel>getBillingBaseStores()Generated method - Getter of theCountry.billingBaseStoresattribute defined at extensioncommerceservices.java.util.Collection<RegionModel>getRegions()Generated method - Getter of theCountry.regionsattribute defined at extensioncore.java.lang.StringgetSapCode()Generated method - Getter of theCountry.sapCodeattribute defined at extensionsapmodel.java.util.Set<ZoneModel>getZones()Generated method - Getter of theCountry.zonesattribute defined at extensiondeliveryzone.voidsetBaseStores(java.util.Set<BaseStoreModel> value)Generated method - Setter ofCountry.baseStoresattribute defined at extensioncommerceservices.voidsetBillingBaseStores(java.util.Set<BaseStoreModel> value)Generated method - Setter ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.voidsetRegions(java.util.Collection<RegionModel> value)Generated method - Setter ofCountry.regionsattribute defined at extensioncore.voidsetSapCode(java.lang.String value)Generated method - Setter ofCountry.sapCodeattribute defined at extensionsapmodel.voidsetZones(java.util.Set<ZoneModel> value)Generated method - Setter ofCountry.zonesattribute defined at extensiondeliveryzone.-
Methods inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
getActive, getIsocode, getName, getName, getZone, setActive, setIsocode, setName, setName, setZone
-
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
-
-
-
-
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 relationZoneCountryRelationdefining source attributezonesin extensiondeliveryzone.- See Also:
- Constant Field Values
-
REGIONS
public static final java.lang.String REGIONS
Generated constant - Attribute key ofCountry.regionsattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ZONES
public static final java.lang.String ZONES
Generated constant - Attribute key ofCountry.zonesattribute defined at extensiondeliveryzone.- See Also:
- Constant Field Values
-
BASESTORES
public static final java.lang.String BASESTORES
Generated constant - Attribute key ofCountry.baseStoresattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
BILLINGBASESTORES
public static final java.lang.String BILLINGBASESTORES
Generated constant - Attribute key ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
SAPCODE
public static final java.lang.String SAPCODE
Generated constant - Attribute key ofCountry.sapCodeattribute defined at extensionsapmodel.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_isocode- initial attribute declared by typeCountryat extensioncore
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_isocode- initial attribute declared by typeCountryat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getBaseStores
@Accessor(qualifier="baseStores", type=GETTER) public java.util.Set<BaseStoreModel> getBaseStores()
Generated method - Getter of theCountry.baseStoresattribute defined at extensioncommerceservices. 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 theCountry.billingBaseStoresattribute defined at extensioncommerceservices. 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 theCountry.regionsattribute defined at extensioncore. 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 theCountry.sapCodeattribute defined at extensionsapmodel.- 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 theCountry.zonesattribute defined at extensiondeliveryzone. 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 ofCountry.baseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the baseStores
-
setBillingBaseStores
@Accessor(qualifier="billingBaseStores", type=SETTER) public void setBillingBaseStores(java.util.Set<BaseStoreModel> value)
Generated method - Setter ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the billingBaseStores
-
setRegions
@Accessor(qualifier="regions", type=SETTER) public void setRegions(java.util.Collection<RegionModel> value)
Generated method - Setter ofCountry.regionsattribute defined at extensioncore.- Parameters:
value- the regions
-
setSapCode
@Accessor(qualifier="sapCode", type=SETTER) public void setSapCode(java.lang.String value)
Generated method - Setter ofCountry.sapCodeattribute defined at extensionsapmodel.- Parameters:
value- the sapCode - SAP Code (ERP Table T005 field LAND1)
-
-