Package org.openwms.wms.receiving.api
Class ReceivingOrderVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<ReceivingOrderVO>
org.openwms.wms.receiving.api.ReceivingOrderVO
- All Implemented Interfaces:
Serializable
public class ReceivingOrderVO
extends org.ameba.http.AbstractBase<ReceivingOrderVO>
implements Serializable
A ReceivingOrderVO.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionArbitrary detail information stored along an order.static final String
private String
The unique identifier of thisReceivingOrder
.private String
The persistent identifier.private @Valid List<BaseReceivingOrderPositionVO>
A set ofReceivingOrderPosition
s belonging to thisReceivingOrder
.private String
The current state of thisReceivingOrder
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getpKey()
getState()
int
hashCode()
boolean
hasState()
void
setDetails
(Map<String, String> details) void
setOrderId
(String orderId) void
void
setPositions
(List<BaseReceivingOrderPositionVO> positions) void
void
toString()
Methods inherited from class org.ameba.http.AbstractBase
getOl, 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
-
MEDIA_TYPE
- See Also:
-
pKey
The persistent identifier. -
orderId
The unique identifier of thisReceivingOrder
. -
state
The current state of thisReceivingOrder
. -
positions
A set ofReceivingOrderPosition
s belonging to thisReceivingOrder
. -
details
Arbitrary detail information stored along an order.
-
-
Constructor Details
-
ReceivingOrderVO
ReceivingOrderVO() -
ReceivingOrderVO
-
-
Method Details
-
sortPositions
public void sortPositions() -
getpKey
-
setpKey
-
getOrderId
-
setOrderId
-
getPositions
-
setPositions
-
getDetails
-
setDetails
-
getState
-
hasState
public boolean hasState() -
setState
-
equals
- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<ReceivingOrderVO>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<ReceivingOrderVO>
-
toString
- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<ReceivingOrderVO>
-