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 Details

    • MEDIA_TYPE

      public static final String MEDIA_TYPE
      See Also:
    • pKey

      private String pKey
      The persistent identifier.
    • orderId

      private String orderId
      The unique identifier of this ReceivingOrder.
    • state

      private String state
      The current state of this ReceivingOrder.
    • positions

      @Valid private @Valid List<BaseReceivingOrderPositionVO> positions
      A set of ReceivingOrderPositions belonging to this ReceivingOrder.
    • details

      private Map<String,String> details
      Arbitrary detail information stored along an order.
  • Constructor Details

    • ReceivingOrderVO

      ReceivingOrderVO()
    • ReceivingOrderVO

      public ReceivingOrderVO(@NotEmpty @NotEmpty String orderId)
  • Method Details

    • sortPositions

      public void sortPositions()
    • getpKey

      public String getpKey()
    • setpKey

      public void setpKey(String pKey)
    • getOrderId

      public String getOrderId()
    • setOrderId

      public void setOrderId(String orderId)
    • getPositions

      public List<BaseReceivingOrderPositionVO> getPositions()
    • setPositions

      public void setPositions(List<BaseReceivingOrderPositionVO> positions)
    • getDetails

      public Map<String,String> getDetails()
    • setDetails

      public void setDetails(Map<String,String> details)
    • getState

      public String getState()
    • hasState

      public boolean hasState()
    • setState

      public void setState(String state)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<ReceivingOrderVO>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel<ReceivingOrderVO>
    • toString

      public String toString()
      Overrides:
      toString in class org.springframework.hateoas.RepresentationModel<ReceivingOrderVO>