Enum Class PositionState

java.lang.Object
java.lang.Enum<PositionState>
org.openwms.wms.receiving.api.PositionState
All Implemented Interfaces:
Serializable, Comparable<PositionState>, Constable

public enum PositionState extends Enum<PositionState>
An PositionState enum defines all possible states of any kind of ReceivingOrderPosition.
Author:
Heiko Scherrer
  • Enum Constant Details

    • CREATED

      public static final PositionState CREATED
      When the ReceivingOrderPosition has been created.
    • PROCESSING

      public static final PositionState PROCESSING
      When the ReceivingOrderPosition is currently in the receiving process and goods are captured.
    • CANCELED

      public static final PositionState CANCELED
      If the ReceivingOrderPosition has been cancelled.
    • PARTIALLY_COMPLETED

      public static final PositionState PARTIALLY_COMPLETED
      ReceivingOrderPosition has not been captured completely but the ReceivingOrder has been closed.
    • COMPLETED

      public static final PositionState COMPLETED
      ReceivingOrderPosition has been completed (captured) successfully.
  • Constructor Details

    • PositionState

      private PositionState()
  • Method Details

    • values

      public static PositionState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PositionState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null