Enum Class OrderState

java.lang.Object
java.lang.Enum<OrderState>
org.openwms.wms.order.OrderState
All Implemented Interfaces:
Serializable, Comparable<OrderState>, Constable

public enum OrderState extends Enum<OrderState>
An OrderState is used to define the state of a ReceivingOrder or ReceivingOrderPosition.
Author:
Heiko Scherrer
  • Enum Constant Details

    • UNDEFINED

      public static final OrderState UNDEFINED
      Initial state.
    • CREATED

      public static final OrderState CREATED
      When the Order has been created.
    • PROCESSING

      public static final OrderState PROCESSING
      Not Used.
    • PROCESSED

      public static final OrderState PROCESSED
      After creation, if all position have been processed successfully.
    • CANCELED

      public static final OrderState CANCELED
      If the Order or Position has been cancelled.
    • COMPLETED

      public static final OrderState COMPLETED
      Order or Position has been completed successfully.
  • Constructor Details

    • OrderState

      private OrderState()
  • Method Details

    • values

      public static OrderState[] 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 OrderState 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