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 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()