Class ConsignmentModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ordersplitting.model.ConsignmentModel
- All Implemented Interfaces:
Serializable
Generated model class for type Consignment first defined at extension basecommerce.
- 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 relationConsignmentEntryConsignmentRelationdefining source attributeconsignmentEntriesin extensionbasecommerce.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofConsignment.carrierattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.codeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.consignmentProcessesattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.deliveryModeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.orderattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.shippingAddressattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.shippingDateattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.statusattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.statusDisplayattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofConsignment.trackingIDattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofConsignment.warehouseattribute defined at extensionbasecommerce.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.ConsignmentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextConsignmentModel(String _code, DeliveryModeModel _deliveryMode, Date _namedDeliveryDate, AbstractOrderModel _order, ItemModel _owner, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersConsignmentModel(String _code, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse) 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 theConsignment.carrierattribute defined at extensionbasecommerce.getCode()Generated method - Getter of theConsignment.codeattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.consignmentEntriesattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.consignmentProcessesattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.deliveryModeattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.Generated method - Getter of theConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.getOrder()Generated method - Getter of theConsignment.orderattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.shippingAddressattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.shippingDateattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.statusattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.statusDisplaydynamic attribute defined at extensionacceleratorservices.Generated method - Getter of theConsignment.trackingIDattribute defined at extensionbasecommerce.Generated method - Getter of theConsignment.warehouseattribute defined at extensionbasecommerce.voidsetCarrier(String value) Generated method - Setter ofConsignment.carrierattribute defined at extensionbasecommerce.voidGenerated method - Initial setter ofConsignment.codeattribute defined at extensionbasecommerce.voidGenerated method - Setter ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.voidGenerated method - Setter ofConsignment.consignmentProcessesattribute defined at extensionbasecommerce.voidsetDeliveryMode(DeliveryModeModel value) Generated method - Initial setter ofConsignment.deliveryModeattribute defined at extensionbasecommerce.voidGenerated method - Setter ofConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.voidsetNamedDeliveryDate(Date value) Generated method - Initial setter ofConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.voidsetOrder(AbstractOrderModel value) Generated method - Initial setter ofConsignment.orderattribute defined at extensionbasecommerce.voidsetShippingAddress(AddressModel value) Generated method - Initial setter ofConsignment.shippingAddressattribute defined at extensionbasecommerce.voidsetShippingDate(Date value) Generated method - Setter ofConsignment.shippingDateattribute defined at extensionbasecommerce.voidsetStatus(ConsignmentStatus value) Generated method - Setter ofConsignment.statusattribute defined at extensionbasecommerce.voidsetTrackingID(String value) Generated method - Setter ofConsignment.trackingIDattribute defined at extensionbasecommerce.voidsetWarehouse(WarehouseModel value) Generated method - Initial setter ofConsignment.warehouseattribute defined at extensionbasecommerce.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:
-
_CONSIGNMENTENTRYCONSIGNMENTRELATION
Generated relation code constant for relationConsignmentEntryConsignmentRelationdefining source attributeconsignmentEntriesin extensionbasecommerce.- See Also:
-
CODE
Generated constant - Attribute key ofConsignment.codeattribute defined at extensionbasecommerce.- See Also:
-
SHIPPINGADDRESS
Generated constant - Attribute key ofConsignment.shippingAddressattribute defined at extensionbasecommerce.- See Also:
-
DELIVERYMODE
Generated constant - Attribute key ofConsignment.deliveryModeattribute defined at extensionbasecommerce.- See Also:
-
NAMEDDELIVERYDATE
Generated constant - Attribute key ofConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.- See Also:
-
SHIPPINGDATE
Generated constant - Attribute key ofConsignment.shippingDateattribute defined at extensionbasecommerce.- See Also:
-
TRACKINGID
Generated constant - Attribute key ofConsignment.trackingIDattribute defined at extensionbasecommerce.- See Also:
-
CARRIER
Generated constant - Attribute key ofConsignment.carrierattribute defined at extensionbasecommerce.- See Also:
-
STATUS
Generated constant - Attribute key ofConsignment.statusattribute defined at extensionbasecommerce.- See Also:
-
WAREHOUSE
Generated constant - Attribute key ofConsignment.warehouseattribute defined at extensionbasecommerce.- See Also:
-
CONSIGNMENTENTRIES
Generated constant - Attribute key ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.- See Also:
-
ORDER
Generated constant - Attribute key ofConsignment.orderattribute defined at extensionbasecommerce.- See Also:
-
CONSIGNMENTPROCESSES
Generated constant - Attribute key ofConsignment.consignmentProcessesattribute defined at extensionbasecommerce.- See Also:
-
DELIVERYPOINTOFSERVICE
Generated constant - Attribute key ofConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.- See Also:
-
STATUSDISPLAY
Generated constant - Attribute key ofConsignment.statusDisplayattribute defined at extensionacceleratorservices.- See Also:
-
-
Constructor Details
-
ConsignmentModel
public ConsignmentModel()Generated constructor - Default constructor for generic creation. -
ConsignmentModel
public ConsignmentModel(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
-
ConsignmentModel
@Deprecated(since="4.1.1", forRemoval=true) public ConsignmentModel(String _code, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse) 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 typeConsignmentat extensionbasecommerce_shippingAddress- initial attribute declared by typeConsignmentat extensionbasecommerce_status- initial attribute declared by typeConsignmentat extensionbasecommerce_warehouse- initial attribute declared by typeConsignmentat extensionbasecommerce
-
ConsignmentModel
@Deprecated(since="4.1.1", forRemoval=true) public ConsignmentModel(String _code, DeliveryModeModel _deliveryMode, Date _namedDeliveryDate, AbstractOrderModel _order, ItemModel _owner, AddressModel _shippingAddress, ConsignmentStatus _status, WarehouseModel _warehouse) 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 typeConsignmentat extensionbasecommerce_deliveryMode- initial attribute declared by typeConsignmentat extensionbasecommerce_namedDeliveryDate- initial attribute declared by typeConsignmentat extensionbasecommerce_order- initial attribute declared by typeConsignmentat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_shippingAddress- initial attribute declared by typeConsignmentat extensionbasecommerce_status- initial attribute declared by typeConsignmentat extensionbasecommerce_warehouse- initial attribute declared by typeConsignmentat extensionbasecommerce
-
-
Method Details
-
getCarrier
Generated method - Getter of theConsignment.carrierattribute defined at extensionbasecommerce.- Returns:
- the carrier
-
getCode
Generated method - Getter of theConsignment.codeattribute defined at extensionbasecommerce.- Returns:
- the code
-
getConsignmentEntries
@Accessor(qualifier="consignmentEntries", type=GETTER) public Set<ConsignmentEntryModel> getConsignmentEntries()Generated method - Getter of theConsignment.consignmentEntriesattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the consignmentEntries
-
getConsignmentProcesses
@Accessor(qualifier="consignmentProcesses", type=GETTER) public Collection<ConsignmentProcessModel> getConsignmentProcesses()Generated method - Getter of theConsignment.consignmentProcessesattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the consignmentProcesses
-
getDeliveryMode
Generated method - Getter of theConsignment.deliveryModeattribute defined at extensionbasecommerce.- Returns:
- the deliveryMode
-
getDeliveryPointOfService
@Accessor(qualifier="deliveryPointOfService", type=GETTER) public PointOfServiceModel getDeliveryPointOfService()Generated method - Getter of theConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.- Returns:
- the deliveryPointOfService - The point of service to deliver to/collect from.
-
getNamedDeliveryDate
Generated method - Getter of theConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.- Returns:
- the namedDeliveryDate
-
getOrder
Generated method - Getter of theConsignment.orderattribute defined at extensionbasecommerce.- Returns:
- the order
-
getShippingAddress
Generated method - Getter of theConsignment.shippingAddressattribute defined at extensionbasecommerce.- Returns:
- the shippingAddress
-
getShippingDate
Generated method - Getter of theConsignment.shippingDateattribute defined at extensionbasecommerce.- Returns:
- the shippingDate
-
getStatus
Generated method - Getter of theConsignment.statusattribute defined at extensionbasecommerce.- Returns:
- the status
-
getStatusDisplay
Generated method - Getter of theConsignment.statusDisplaydynamic attribute defined at extensionacceleratorservices.- Returns:
- the statusDisplay
-
getTrackingID
Generated method - Getter of theConsignment.trackingIDattribute defined at extensionbasecommerce.- Returns:
- the trackingID
-
getWarehouse
Generated method - Getter of theConsignment.warehouseattribute defined at extensionbasecommerce.- Returns:
- the warehouse
-
setCarrier
Generated method - Setter ofConsignment.carrierattribute defined at extensionbasecommerce.- Parameters:
value- the carrier
-
setCode
Generated method - Initial setter ofConsignment.codeattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the code
-
setConsignmentEntries
@Accessor(qualifier="consignmentEntries", type=SETTER) public void setConsignmentEntries(Set<ConsignmentEntryModel> value) Generated method - Setter ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.- Parameters:
value- the consignmentEntries
-
setConsignmentProcesses
@Accessor(qualifier="consignmentProcesses", type=SETTER) public void setConsignmentProcesses(Collection<ConsignmentProcessModel> value) Generated method - Setter ofConsignment.consignmentProcessesattribute defined at extensionbasecommerce.- Parameters:
value- the consignmentProcesses
-
setDeliveryMode
@Accessor(qualifier="deliveryMode", type=SETTER) public void setDeliveryMode(DeliveryModeModel value) Generated method - Initial setter ofConsignment.deliveryModeattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the deliveryMode
-
setDeliveryPointOfService
@Accessor(qualifier="deliveryPointOfService", type=SETTER) public void setDeliveryPointOfService(PointOfServiceModel value) Generated method - Setter ofConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.- Parameters:
value- the deliveryPointOfService - The point of service to deliver to/collect from.
-
setNamedDeliveryDate
Generated method - Initial setter ofConsignment.namedDeliveryDateattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the namedDeliveryDate
-
setOrder
Generated method - Initial setter ofConsignment.orderattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the order
-
setShippingAddress
@Accessor(qualifier="shippingAddress", type=SETTER) public void setShippingAddress(AddressModel value) Generated method - Initial setter ofConsignment.shippingAddressattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the shippingAddress
-
setShippingDate
Generated method - Setter ofConsignment.shippingDateattribute defined at extensionbasecommerce.- Parameters:
value- the shippingDate
-
setStatus
Generated method - Setter ofConsignment.statusattribute defined at extensionbasecommerce.- Parameters:
value- the status
-
setTrackingID
Generated method - Setter ofConsignment.trackingIDattribute defined at extensionbasecommerce.- Parameters:
value- the trackingID
-
setWarehouse
Generated method - Initial setter ofConsignment.warehouseattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the warehouse
-