java.lang.Object
java.lang.Enum<OrderState>
eu.dzhw.fdz.metadatamanagement.ordermanagement.domain.OrderState
All Implemented Interfaces:
Serializable, Comparable<OrderState>, Constable

public enum OrderState
extends Enum<OrderState>
The states an Order can have.
Author:
René Reitmann
  • Enum Constant Details

    • CREATED

      public static final OrderState CREATED
    • NOTIFIED

      public static final OrderState NOTIFIED
    • ORDERED

      public static final OrderState ORDERED
  • Constructor Details

    • OrderState

      private OrderState()
  • Method Details

    • values

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

      public static OrderState valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null