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:
java.io.Serializable
public class ConsignmentModel extends ItemModel
Generated model class for type Consignment first defined at extension basecommerce.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CONSIGNMENTENTRYCONSIGNMENTRELATIONGenerated relation code constant for relationConsignmentEntryConsignmentRelationdefining source attributeconsignmentEntriesin extensionbasecommerce.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCARRIERGenerated constant - Attribute key ofConsignment.carrierattribute defined at extensionbasecommerce.static java.lang.StringCODEGenerated constant - Attribute key ofConsignment.codeattribute defined at extensionbasecommerce.static java.lang.StringCONSIGNMENTENTRIESGenerated constant - Attribute key ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.static java.lang.StringCONSIGNMENTPROCESSESGenerated constant - Attribute key ofConsignment.consignmentProcessesattribute defined at extensionbasecommerce.static java.lang.StringDELIVERYMODEGenerated constant - Attribute key ofConsignment.deliveryModeattribute defined at extensionbasecommerce.static java.lang.StringDELIVERYPOINTOFSERVICEGenerated constant - Attribute key ofConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.static java.lang.StringNAMEDDELIVERYDATEGenerated constant - Attribute key ofConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.static java.lang.StringORDERGenerated constant - Attribute key ofConsignment.orderattribute defined at extensionbasecommerce.static java.lang.StringSHIPPINGADDRESSGenerated constant - Attribute key ofConsignment.shippingAddressattribute defined at extensionbasecommerce.static java.lang.StringSHIPPINGDATEGenerated constant - Attribute key ofConsignment.shippingDateattribute defined at extensionbasecommerce.static java.lang.StringSTATUSGenerated constant - Attribute key ofConsignment.statusattribute defined at extensionbasecommerce.static java.lang.StringSTATUSDISPLAYGenerated constant - Attribute key ofConsignment.statusDisplayattribute defined at extensionacceleratorservices.static java.lang.StringTRACKINGIDGenerated constant - Attribute key ofConsignment.trackingIDattribute defined at extensionbasecommerce.static java.lang.StringWAREHOUSEGenerated 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, SEALED
-
-
Constructor Summary
Constructors Constructor Description ConsignmentModel()Generated constructor - Default constructor for generic creation.ConsignmentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextConsignmentModel(java.lang.String _code, DeliveryModeModel _deliveryMode, java.util.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(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCarrier()Generated method - Getter of theConsignment.carrierattribute defined at extensionbasecommerce.java.lang.StringgetCode()Generated method - Getter of theConsignment.codeattribute defined at extensionbasecommerce.java.util.Set<ConsignmentEntryModel>getConsignmentEntries()Generated method - Getter of theConsignment.consignmentEntriesattribute defined at extensionbasecommerce.java.util.Collection<ConsignmentProcessModel>getConsignmentProcesses()Generated method - Getter of theConsignment.consignmentProcessesattribute defined at extensionbasecommerce.DeliveryModeModelgetDeliveryMode()Generated method - Getter of theConsignment.deliveryModeattribute defined at extensionbasecommerce.PointOfServiceModelgetDeliveryPointOfService()Generated method - Getter of theConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.java.util.DategetNamedDeliveryDate()Generated method - Getter of theConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.AbstractOrderModelgetOrder()Generated method - Getter of theConsignment.orderattribute defined at extensionbasecommerce.AddressModelgetShippingAddress()Generated method - Getter of theConsignment.shippingAddressattribute defined at extensionbasecommerce.java.util.DategetShippingDate()Generated method - Getter of theConsignment.shippingDateattribute defined at extensionbasecommerce.ConsignmentStatusgetStatus()Generated method - Getter of theConsignment.statusattribute defined at extensionbasecommerce.java.lang.StringgetStatusDisplay()Generated method - Getter of theConsignment.statusDisplaydynamic attribute defined at extensionacceleratorservices.java.lang.StringgetTrackingID()Generated method - Getter of theConsignment.trackingIDattribute defined at extensionbasecommerce.WarehouseModelgetWarehouse()Generated method - Getter of theConsignment.warehouseattribute defined at extensionbasecommerce.voidsetCarrier(java.lang.String value)Generated method - Setter ofConsignment.carrierattribute defined at extensionbasecommerce.voidsetCode(java.lang.String value)Generated method - Initial setter ofConsignment.codeattribute defined at extensionbasecommerce.voidsetConsignmentEntries(java.util.Set<ConsignmentEntryModel> value)Generated method - Setter ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.voidsetConsignmentProcesses(java.util.Collection<ConsignmentProcessModel> value)Generated method - Setter ofConsignment.consignmentProcessesattribute defined at extensionbasecommerce.voidsetDeliveryMode(DeliveryModeModel value)Generated method - Initial setter ofConsignment.deliveryModeattribute defined at extensionbasecommerce.voidsetDeliveryPointOfService(PointOfServiceModel value)Generated method - Setter ofConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.voidsetNamedDeliveryDate(java.util.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(java.util.Date value)Generated method - Setter ofConsignment.shippingDateattribute defined at extensionbasecommerce.voidsetStatus(ConsignmentStatus value)Generated method - Setter ofConsignment.statusattribute defined at extensionbasecommerce.voidsetTrackingID(java.lang.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, 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
-
_CONSIGNMENTENTRYCONSIGNMENTRELATION
public static final java.lang.String _CONSIGNMENTENTRYCONSIGNMENTRELATION
Generated relation code constant for relationConsignmentEntryConsignmentRelationdefining source attributeconsignmentEntriesin extensionbasecommerce.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofConsignment.codeattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
SHIPPINGADDRESS
public static final java.lang.String SHIPPINGADDRESS
Generated constant - Attribute key ofConsignment.shippingAddressattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
DELIVERYMODE
public static final java.lang.String DELIVERYMODE
Generated constant - Attribute key ofConsignment.deliveryModeattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
NAMEDDELIVERYDATE
public static final java.lang.String NAMEDDELIVERYDATE
Generated constant - Attribute key ofConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
SHIPPINGDATE
public static final java.lang.String SHIPPINGDATE
Generated constant - Attribute key ofConsignment.shippingDateattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
TRACKINGID
public static final java.lang.String TRACKINGID
Generated constant - Attribute key ofConsignment.trackingIDattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
CARRIER
public static final java.lang.String CARRIER
Generated constant - Attribute key ofConsignment.carrierattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofConsignment.statusattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
WAREHOUSE
public static final java.lang.String WAREHOUSE
Generated constant - Attribute key ofConsignment.warehouseattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
CONSIGNMENTENTRIES
public static final java.lang.String CONSIGNMENTENTRIES
Generated constant - Attribute key ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Generated constant - Attribute key ofConsignment.orderattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
CONSIGNMENTPROCESSES
public static final java.lang.String CONSIGNMENTPROCESSES
Generated constant - Attribute key ofConsignment.consignmentProcessesattribute defined at extensionbasecommerce.- See Also:
- Constant Field Values
-
DELIVERYPOINTOFSERVICE
public static final java.lang.String DELIVERYPOINTOFSERVICE
Generated constant - Attribute key ofConsignment.deliveryPointOfServiceattribute defined at extensioncommerceservices.- See Also:
- Constant Field Values
-
STATUSDISPLAY
public static final java.lang.String STATUSDISPLAY
Generated constant - Attribute key ofConsignment.statusDisplayattribute defined at extensionacceleratorservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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(java.lang.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(java.lang.String _code, DeliveryModeModel _deliveryMode, java.util.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 Detail
-
getCarrier
@Accessor(qualifier="carrier", type=GETTER) public java.lang.String getCarrier()Generated method - Getter of theConsignment.carrierattribute defined at extensionbasecommerce.- Returns:
- the carrier
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()Generated method - Getter of theConsignment.codeattribute defined at extensionbasecommerce.- Returns:
- the code
-
getConsignmentEntries
@Accessor(qualifier="consignmentEntries", type=GETTER) public java.util.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 java.util.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
@Accessor(qualifier="deliveryMode", type=GETTER) public DeliveryModeModel 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
@Accessor(qualifier="namedDeliveryDate", type=GETTER) public java.util.Date getNamedDeliveryDate()Generated method - Getter of theConsignment.namedDeliveryDateattribute defined at extensionbasecommerce.- Returns:
- the namedDeliveryDate
-
getOrder
@Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()Generated method - Getter of theConsignment.orderattribute defined at extensionbasecommerce.- Returns:
- the order
-
getShippingAddress
@Accessor(qualifier="shippingAddress", type=GETTER) public AddressModel getShippingAddress()Generated method - Getter of theConsignment.shippingAddressattribute defined at extensionbasecommerce.- Returns:
- the shippingAddress
-
getShippingDate
@Accessor(qualifier="shippingDate", type=GETTER) public java.util.Date getShippingDate()Generated method - Getter of theConsignment.shippingDateattribute defined at extensionbasecommerce.- Returns:
- the shippingDate
-
getStatus
@Accessor(qualifier="status", type=GETTER) public ConsignmentStatus getStatus()Generated method - Getter of theConsignment.statusattribute defined at extensionbasecommerce.- Returns:
- the status
-
getStatusDisplay
@Accessor(qualifier="statusDisplay", type=GETTER) public java.lang.String getStatusDisplay()Generated method - Getter of theConsignment.statusDisplaydynamic attribute defined at extensionacceleratorservices.- Returns:
- the statusDisplay
-
getTrackingID
@Accessor(qualifier="trackingID", type=GETTER) public java.lang.String getTrackingID()Generated method - Getter of theConsignment.trackingIDattribute defined at extensionbasecommerce.- Returns:
- the trackingID
-
getWarehouse
@Accessor(qualifier="warehouse", type=GETTER) public WarehouseModel getWarehouse()Generated method - Getter of theConsignment.warehouseattribute defined at extensionbasecommerce.- Returns:
- the warehouse
-
setCarrier
@Accessor(qualifier="carrier", type=SETTER) public void setCarrier(java.lang.String value)Generated method - Setter ofConsignment.carrierattribute defined at extensionbasecommerce.- Parameters:
value- the carrier
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)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(java.util.Set<ConsignmentEntryModel> value)Generated method - Setter ofConsignment.consignmentEntriesattribute defined at extensionbasecommerce.- Parameters:
value- the consignmentEntries
-
setConsignmentProcesses
@Accessor(qualifier="consignmentProcesses", type=SETTER) public void setConsignmentProcesses(java.util.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
@Accessor(qualifier="namedDeliveryDate", type=SETTER) public void setNamedDeliveryDate(java.util.Date value)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
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)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
@Accessor(qualifier="shippingDate", type=SETTER) public void setShippingDate(java.util.Date value)Generated method - Setter ofConsignment.shippingDateattribute defined at extensionbasecommerce.- Parameters:
value- the shippingDate
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(ConsignmentStatus value)Generated method - Setter ofConsignment.statusattribute defined at extensionbasecommerce.- Parameters:
value- the status
-
setTrackingID
@Accessor(qualifier="trackingID", type=SETTER) public void setTrackingID(java.lang.String value)Generated method - Setter ofConsignment.trackingIDattribute defined at extensionbasecommerce.- Parameters:
value- the trackingID
-
setWarehouse
@Accessor(qualifier="warehouse", type=SETTER) public void setWarehouse(WarehouseModel value)Generated method - Initial setter ofConsignment.warehouseattribute defined at extensionbasecommerce. Can only be used at creation of model - before first save.- Parameters:
value- the warehouse
-
-