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:
Serializable
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated relation code constant for relationZoneCountryRelationdefining source attributezonesin extensiondeliveryzone.static final StringGenerated constant - Attribute key ofCountry.baseStoresattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCountry.regionsattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofCountry.zonesattribute defined at extensiondeliveryzone.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.CountryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextCountryModel(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(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 TypeMethodDescriptionGenerated method - Getter of theCountry.baseStoresattribute defined at extensioncommerceservices.Generated method - Getter of theCountry.billingBaseStoresattribute defined at extensioncommerceservices.Generated method - Getter of theCountry.regionsattribute defined at extensioncore.getZones()Generated method - Getter of theCountry.zonesattribute defined at extensiondeliveryzone.voidsetBaseStores(Set<BaseStoreModel> value) Generated method - Setter ofCountry.baseStoresattribute defined at extensioncommerceservices.voidsetBillingBaseStores(Set<BaseStoreModel> value) Generated method - Setter ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.voidsetRegions(Collection<RegionModel> value) Generated method - Setter ofCountry.regionsattribute defined at extensioncore.voidGenerated method - Setter ofCountry.zonesattribute defined at extensiondeliveryzone.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:
-
_ZONECOUNTRYRELATION
Generated relation code constant for relationZoneCountryRelationdefining source attributezonesin extensiondeliveryzone.- See Also:
-
REGIONS
Generated constant - Attribute key ofCountry.regionsattribute defined at extensioncore.- See Also:
-
ZONES
Generated constant - Attribute key ofCountry.zonesattribute defined at extensiondeliveryzone.- See Also:
-
BASESTORES
Generated constant - Attribute key ofCountry.baseStoresattribute defined at extensioncommerceservices.- See Also:
-
BILLINGBASESTORES
Generated constant - Attribute key ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.- 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, 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, 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 Details
-
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 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
Generated method - Getter of theCountry.regionsattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the regions
-
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
Generated method - Setter ofCountry.baseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the baseStores
-
setBillingBaseStores
@Accessor(qualifier="billingBaseStores", type=SETTER) public void setBillingBaseStores(Set<BaseStoreModel> value) Generated method - Setter ofCountry.billingBaseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the billingBaseStores
-
setRegions
Generated method - Setter ofCountry.regionsattribute defined at extensioncore.- Parameters:
value- the regions
-
setZones
Generated method - Setter ofCountry.zonesattribute defined at extensiondeliveryzone.- Parameters:
value- the zones
-