Class ZoneModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.deliveryzone.model.ZoneModel
- All Implemented Interfaces:
Serializable
Generated model class for type Zone first defined at extension deliveryzone.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofZone.codeattribute defined at extensiondeliveryzone.static final StringGenerated constant - Attribute key ofZone.countriesattribute defined at extensiondeliveryzone.Fields 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.Generated constructor - Default constructor for creation with existing contextDeprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDeprecated, 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 TypeMethodDescriptiongetCode()Generated method - Getter of theZone.codeattribute defined at extensiondeliveryzone.Generated method - Getter of theZone.countriesattribute defined at extensiondeliveryzone.voidGenerated method - Setter ofZone.codeattribute defined at extensiondeliveryzone.voidsetCountries(Set<CountryModel> value) Generated method - Setter ofZone.countriesattribute defined at extensiondeliveryzone.Methods 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:
-
CODE
Generated constant - Attribute key ofZone.codeattribute defined at extensiondeliveryzone.- See Also:
-
COUNTRIES
Generated constant - Attribute key ofZone.countriesattribute defined at extensiondeliveryzone.- See Also:
-
-
Constructor Details
-
ZoneModel
public ZoneModel()Generated constructor - Default constructor for generic creation. -
ZoneModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ZoneModel
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:
_code- initial attribute declared by typeZoneat extensiondeliveryzone
-
ZoneModel
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:
_code- initial attribute declared by typeZoneat extensiondeliveryzone_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theZone.codeattribute defined at extensiondeliveryzone.- Returns:
- the code
-
getCountries
Generated method - Getter of theZone.countriesattribute defined at extensiondeliveryzone. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the countries
-
setCode
Generated method - Setter ofZone.codeattribute defined at extensiondeliveryzone.- Parameters:
value- the code
-
setCountries
Generated method - Setter ofZone.countriesattribute defined at extensiondeliveryzone.- Parameters:
value- the countries
-