Class MovementVO

java.lang.Object
org.springframework.hateoas.RepresentationModel<MovementVO>
org.ameba.http.AbstractBase<MovementVO>
org.openwms.wms.movements.api.MovementVO
All Implemented Interfaces:
Serializable

public class MovementVO extends org.ameba.http.AbstractBase<MovementVO> implements Serializable
A MovementVO encapsulates details about the actual request to move a TransportUnit to a target.
Author:
Heiko Scherrer
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    When the Movement has been created.
    When the Movement has been finished.
    private String
    Initiator of the Movement, who ordered or triggered it.
    Latest possible finish date of the Movement.
    private String
    The persistent key is returned from the service as soon as the Movement has been created.
    private Integer
    A priority how fast the Movement needs to be processed; A higher value means less prior than lower values.
    private String
    Refers to the demanded Product for that the Movement has been created.
    private @NotBlank(groups={Create.class,Move.class}) String
    The source Location where the TransportUnit shall be picked up.
    private String
    The name of the LocationGroup the sourceLocation belongs to.
    When the Movement has been started.
    private StartMode
    Whether the Movement should be directly processed (AUTOMATIC) or delayed (MANUAL).
    private @NotBlank(groups=Move.class) String
    The current state of the Movement.
    private @NotBlank(groups={Create.class,Complete.class}) String
    The target where to move the TransportUnit.
    private String
    The target LocationGroup used to define in what area.
    private String
    The business key of the TransportUnit.
    private MovementType
    The type of Movement.

    Fields inherited from class org.ameba.http.AbstractBase

    DATETIME_FORMAT_ZULU
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether a target is set or not.
    boolean
     

    Methods inherited from class org.ameba.http.AbstractBase

    equals, getCreateDt, getLastModifiedDt, getOl, hashCode, 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, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • persistentKey

      private String persistentKey
      The persistent key is returned from the service as soon as the Movement has been created.
    • transportUnitBk

      private String transportUnitBk
      The business key of the TransportUnit.
    • type

      private MovementType type
      The type of Movement.
    • initiator

      private String initiator
      Initiator of the Movement, who ordered or triggered it.
    • startMode

      private StartMode startMode
      Whether the Movement should be directly processed (AUTOMATIC) or delayed (MANUAL).
    • sku

      private String sku
      Refers to the demanded Product for that the Movement has been created.
    • priority

      private Integer priority
      A priority how fast the Movement needs to be processed; A higher value means less prior than lower values.
    • state

      @NotBlank(groups=Move.class) private @NotBlank(groups=Move.class) String state
      The current state of the Movement.
    • sourceLocation

      @NotBlank(groups={Create.class,Move.class}) private @NotBlank(groups={Create.class,Move.class}) String sourceLocation
      The source Location where the TransportUnit shall be picked up.
    • sourceLocationGroupName

      private String sourceLocationGroupName
      The name of the LocationGroup the sourceLocation belongs to.
    • target

      @NotBlank(groups={Create.class,Complete.class}) private @NotBlank(groups={Create.class,Complete.class}) String target
      The target where to move the TransportUnit.
    • targetLocationGroup

      private String targetLocationGroup
      The target LocationGroup used to define in what area.
    • startedAt

      private ZonedDateTime startedAt
      When the Movement has been started.
    • latestDueDate

      private ZonedDateTime latestDueDate
      Latest possible finish date of the Movement.
    • finishedAt

      private ZonedDateTime finishedAt
      When the Movement has been finished.
    • createdAt

      private ZonedDateTime createdAt
      When the Movement has been created.
  • Constructor Details

    • MovementVO

      public MovementVO()
  • Method Details

    • hasTarget

      public boolean hasTarget()
      Checks whether a target is set or not.
      Returns:
      true if so
    • hasTransportUnitBK

      public boolean hasTransportUnitBK()