Class DeliveryModeModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.order.delivery.DeliveryModeModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PickUpDeliveryModeModel,ZoneDeliveryModeModel
Generated model class for type DeliveryMode first defined at extension core.
- 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 relation code constant for relationBaseStore2DeliveryModeReldefining source attributestoresin extensioncommerceservices.static final StringGenerated model type code constant.static final StringGenerated relation code constant for relationWarehouse2DeliveryModeRelationdefining source attributewarehousesin extensionwarehousing.static final StringGenerated constant - Attribute key ofDeliveryMode.activeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofDeliveryMode.codeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofDeliveryMode.descriptionattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofDeliveryMode.nameattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofDeliveryMode.storesattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofDeliveryMode.supportedPaymentModesattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofDeliveryMode.supportedPaymentModesInternalattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofDeliveryMode.warehousesattribute defined at extensionwarehousing.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 contextDeliveryModeModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDeliveryModeModel(String _code, 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 theDeliveryMode.activeattribute defined at extensioncore.getCode()Generated method - Getter of theDeliveryMode.codeattribute defined at extensioncore.Generated method - Getter of theDeliveryMode.descriptionattribute defined at extensioncore.getDescription(Locale loc) Generated method - Getter of theDeliveryMode.descriptionattribute defined at extensioncore.getName()Generated method - Getter of theDeliveryMode.nameattribute defined at extensioncore.Generated method - Getter of theDeliveryMode.nameattribute defined at extensioncore.Generated method - Getter of theDeliveryMode.storesattribute defined at extensioncommerceservices.Generated method - Getter of theDeliveryMode.supportedPaymentModesattribute defined at extensioncore.Generated method - Getter of theDeliveryMode.warehousesattribute defined at extensionwarehousing.voidGenerated method - Setter ofDeliveryMode.activeattribute defined at extensioncore.voidGenerated method - Setter ofDeliveryMode.codeattribute defined at extensioncore.voidsetDescription(String value) Generated method - Setter ofDeliveryMode.descriptionattribute defined at extensioncore.voidsetDescription(String value, Locale loc) Generated method - Setter ofDeliveryMode.descriptionattribute defined at extensioncore.voidGenerated method - Setter ofDeliveryMode.nameattribute defined at extensioncore.voidGenerated method - Setter ofDeliveryMode.nameattribute defined at extensioncore.voidsetStores(Set<BaseStoreModel> value) Generated method - Setter ofDeliveryMode.storesattribute defined at extensioncommerceservices.voidGenerated method - Setter ofDeliveryMode.supportedPaymentModesattribute defined at extensioncore.voidsetWarehouses(Set<WarehouseModel> value) Generated method - Setter ofDeliveryMode.warehousesattribute defined at extensionwarehousing.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:
-
_BASESTORE2DELIVERYMODEREL
Generated relation code constant for relationBaseStore2DeliveryModeReldefining source attributestoresin extensioncommerceservices.- See Also:
-
_WAREHOUSE2DELIVERYMODERELATION
Generated relation code constant for relationWarehouse2DeliveryModeRelationdefining source attributewarehousesin extensionwarehousing.- See Also:
-
ACTIVE
Generated constant - Attribute key ofDeliveryMode.activeattribute defined at extensioncore.- See Also:
-
CODE
Generated constant - Attribute key ofDeliveryMode.codeattribute defined at extensioncore.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofDeliveryMode.descriptionattribute defined at extensioncore.- See Also:
-
NAME
Generated constant - Attribute key ofDeliveryMode.nameattribute defined at extensioncore.- See Also:
-
SUPPORTEDPAYMENTMODES
Generated constant - Attribute key ofDeliveryMode.supportedPaymentModesattribute defined at extensioncore.- See Also:
-
SUPPORTEDPAYMENTMODESINTERNAL
Generated constant - Attribute key ofDeliveryMode.supportedPaymentModesInternalattribute defined at extensioncore.- See Also:
-
STORES
Generated constant - Attribute key ofDeliveryMode.storesattribute defined at extensioncommerceservices.- See Also:
-
WAREHOUSES
Generated constant - Attribute key ofDeliveryMode.warehousesattribute defined at extensionwarehousing.- See Also:
-
-
Constructor Details
-
DeliveryModeModel
public DeliveryModeModel()Generated constructor - Default constructor for generic creation. -
DeliveryModeModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
DeliveryModeModel
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 typeDeliveryModeat extensioncore
-
DeliveryModeModel
@Deprecated(since="4.1.1", forRemoval=true) public DeliveryModeModel(String _code, 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:
_code- initial attribute declared by typeDeliveryModeat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getActive
Generated method - Getter of theDeliveryMode.activeattribute defined at extensioncore.- Returns:
- the active
-
getCode
Generated method - Getter of theDeliveryMode.codeattribute defined at extensioncore.- Returns:
- the code
-
getDescription
Generated method - Getter of theDeliveryMode.descriptionattribute defined at extensioncore.- Returns:
- the description
-
getDescription
Generated method - Getter of theDeliveryMode.descriptionattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getName
Generated method - Getter of theDeliveryMode.nameattribute defined at extensioncore.- Returns:
- the name
-
getName
Generated method - Getter of theDeliveryMode.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getStores
Generated method - Getter of theDeliveryMode.storesattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the stores
-
getSupportedPaymentModes
@Accessor(qualifier="supportedPaymentModes", type=GETTER) public Collection<PaymentModeModel> getSupportedPaymentModes()Generated method - Getter of theDeliveryMode.supportedPaymentModesattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the supportedPaymentModes
-
getWarehouses
Generated method - Getter of theDeliveryMode.warehousesattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the warehouses
-
setActive
Generated method - Setter ofDeliveryMode.activeattribute defined at extensioncore.- Parameters:
value- the active
-
setCode
Generated method - Setter ofDeliveryMode.codeattribute defined at extensioncore.- Parameters:
value- the code
-
setDescription
Generated method - Setter ofDeliveryMode.descriptionattribute defined at extensioncore.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofDeliveryMode.descriptionattribute defined at extensioncore.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setName
Generated method - Setter ofDeliveryMode.nameattribute defined at extensioncore.- Parameters:
value- the name
-
setName
Generated method - Setter ofDeliveryMode.nameattribute defined at extensioncore.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setStores
Generated method - Setter ofDeliveryMode.storesattribute defined at extensioncommerceservices.- Parameters:
value- the stores
-
setSupportedPaymentModes
@Accessor(qualifier="supportedPaymentModes", type=SETTER) public void setSupportedPaymentModes(Collection<PaymentModeModel> value) Generated method - Setter ofDeliveryMode.supportedPaymentModesattribute defined at extensioncore.- Parameters:
value- the supportedPaymentModes
-
setWarehouses
Generated method - Setter ofDeliveryMode.warehousesattribute defined at extensionwarehousing.- Parameters:
value- the warehouses
-