java.lang.Object
java.lang.Enum<ActiveState>
com.caplin.motif.fx.trading.orders.activestatechange.ActiveState
All Implemented Interfaces:
Serializable, Comparable<ActiveState>, Constable

@Deprecated public enum ActiveState extends Enum<ActiveState>
Deprecated.
The set of enums used to denote the state of an Order in the ChangeActiveState code.
  • Enum Constant Details

    • ACTIVE

      public static final ActiveState ACTIVE
      Deprecated.
      An order state representing Active
    • INACTIVE

      public static final ActiveState INACTIVE
      Deprecated.
      An order state representing Inactive
  • Method Details

    • values

      public static ActiveState[] values()
      Deprecated.
      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 ActiveState valueOf(String name)
      Deprecated.
      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
    • forName

      public static ActiveState forName(String stateName)
      Deprecated.
      Returns the enum that matches the string passed in
      Parameters:
      stateName - The name of the ActiveState enum
      Returns:
      the enum that matches the stateName
    • getName

      public String getName()
      Deprecated.
      Returns the String name of the enum
      Returns:
      The String name of the enum