Package org.openwms.wms.receiving.api
Class ReceivingOrderVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<ReceivingOrderVO>
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.private ZonedDateTimeWhen the order is expected to be received.static final Stringstatic final Stringprivate StringThe unique identifier of thisReceivingOrder.private StringThe persistent identifier.private @Valid List<BaseReceivingOrderPositionVO> A set ofReceivingOrderPositions belonging to thisReceivingOrder.private StringThe current state of thisReceivingOrder.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetpKey()getState()Get all values, without positions, as an ordered list.inthashCode()booleanhasState()voidsetDetails(Map<String, String> details) voidsetExpectedReceiptDate(ZonedDateTime expectedReceiptDate) voidsetOrderId(String orderId) voidvoidsetPositions(List<BaseReceivingOrderPositionVO> positions) voidvoidtoString()Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOlMethods 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:
 
 - 
MEDIA_TYPE_CSV
- See Also:
 
 - 
pKey
The persistent identifier. - 
orderId
The unique identifier of thisReceivingOrder. - 
state
The current state of thisReceivingOrder. - 
expectedReceiptDate
When the order is expected to be received. - 
positions
A set ofReceivingOrderPositions 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
 - 
hasState
public boolean hasState() - 
getState
 - 
setState
 - 
getExpectedReceiptDate
 - 
setExpectedReceiptDate
 - 
getPositions
 - 
setPositions
 - 
getDetails
 - 
setDetails
 - 
equals
- Overrides:
 equalsin classorg.ameba.http.AbstractBase<ReceivingOrderVO>
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classorg.ameba.http.AbstractBase<ReceivingOrderVO>
 - 
toString
- Overrides:
 toStringin classorg.springframework.hateoas.RepresentationModel<ReceivingOrderVO>- Returns:
 - Just the 
orderId 
 - 
getValuesOrdered
Get all values, without positions, as an ordered list.- Returns:
 - All values as LinkedList implementation
 
 
 -