Package org.openwms.wms.shipping.api
Class BaseShippingOrderPositionVO<T extends BaseShippingOrderPositionVO<T>>
java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<T>
org.openwms.wms.shipping.api.BaseShippingOrderPositionVO<T>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ShippingOrderPositionVO
,ShippingTransportUnitOrderPositionVO
public class BaseShippingOrderPositionVO<T extends BaseShippingOrderPositionVO<T>>
extends org.ameba.http.AbstractBase<T>
implements Serializable
A BaseShippingOrderPositionVO.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionArbitrary detail information stored along a position.private ShippingOrderVO
The order.private @NotBlank String
The orderId of the corresponding ShippingOrder.private String
The persistent identifier of the corresponding ShippingOrder.private @NotNull(groups=OrderPositionStateChange.class) OrderState
Current position state.private String
The persistent identifier.private @NotBlank(message="{owms.wms.shp.pos}",groups=Create.class) String
Unique position id within the order, must not be empty.private Integer
Order position priority.A list with LocationGroup names where to find the articles for shipping.private @NotBlank(message="{owms.wms.shp.targetName}",groups=Create.class) String
The target becomes target of all Splits created from this Position, must not be empty.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU
-
Constructor Summary
ConstructorsConstructorDescriptionBaseShippingOrderPositionVO
(@NotBlank String orderId, @NotBlank String positionId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.getOrder()
getpKey()
int
hashCode()
All fields.void
setDetails
(Map<String, String> details) void
setOrder
(ShippingOrderVO order) void
setOrderId
(@NotBlank String orderId) void
setOrderPKey
(String orderPKey) void
setOrderState
(@NotNull(groups=OrderPositionStateChange.class) OrderState orderState) void
void
setPositionId
(@NotBlank(message="{owms.wms.shp.pos}",groups=Create.class) String positionId) void
setPriority
(Integer priority) void
setSourceLocationGroupNames
(List<String> sourceLocationGroupNames) void
setTargetName
(String targetName) toString()
Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
Field Details
-
orderPKey
The persistent identifier of the corresponding ShippingOrder. -
orderId
The orderId of the corresponding ShippingOrder. -
order
The order. -
pKey
The persistent identifier. -
positionId
@NotBlank(message="{owms.wms.shp.pos}", groups=Create.class) private @NotBlank(message="{owms.wms.shp.pos}",groups=Create.class) String positionIdUnique position id within the order, must not be empty. -
orderState
@NotNull(groups=OrderPositionStateChange.class) private @NotNull(groups=OrderPositionStateChange.class) OrderState orderStateCurrent position state. Inherited from the Order. -
priority
Order position priority. -
sourceLocationGroupNames
A list with LocationGroup names where to find the articles for shipping. -
details
Arbitrary detail information stored along a position. -
targetName
@NotBlank(message="{owms.wms.shp.targetName}", groups=Create.class) private @NotBlank(message="{owms.wms.shp.targetName}",groups=Create.class) String targetNameThe target becomes target of all Splits created from this Position, must not be empty.
-
-
Constructor Details
-
BaseShippingOrderPositionVO
BaseShippingOrderPositionVO() -
BaseShippingOrderPositionVO
@ConstructorProperties("positionId") public BaseShippingOrderPositionVO(@NotBlank @NotBlank String orderId, @NotBlank @NotBlank String positionId)
-
-
Method Details
-
getOrderPKey
-
setOrderPKey
-
getOrderId
-
setOrderId
-
getOrder
-
setOrder
-
getpKey
-
setpKey
-
getPositionId
-
setPositionId
public void setPositionId(@NotBlank(message="{owms.wms.shp.pos}",groups=Create.class) @NotBlank(message="{owms.wms.shp.pos}",groups=Create.class) String positionId) -
getOrderState
-
setOrderState
public void setOrderState(@NotNull(groups=OrderPositionStateChange.class) @NotNull(groups=OrderPositionStateChange.class) OrderState orderState) -
getPriority
-
setPriority
-
getSourceLocationGroupNames
-
setSourceLocationGroupNames
-
getDetails
-
setDetails
-
getTargetName
-
setTargetName
-
toString
- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<T extends BaseShippingOrderPositionVO<T>>
-
equals
All fields.- Overrides:
equals
in classorg.ameba.http.AbstractBase<T extends BaseShippingOrderPositionVO<T>>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.ameba.http.AbstractBase<T extends BaseShippingOrderPositionVO<T>>
-