Enum ActiveState
- java.lang.Object
-
- java.lang.Enum<ActiveState>
-
- com.caplin.motif.fx.trading.orders.activestatechange.ActiveState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActiveState>
@Deprecated public enum ActiveState extends java.lang.Enum<ActiveState>
Deprecated.The set of enums used to denote the state of an Order in the ChangeActiveState code.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ActiveState
forName(java.lang.String stateName)
Deprecated.Returns the enum that matches the string passed injava.lang.String
getName()
Deprecated.Returns the String name of the enumstatic ActiveState
valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name.static ActiveState[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ActiveState[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ActiveState c : ActiveState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActiveState valueOf(java.lang.String name)
Deprecated.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forName
public static ActiveState forName(java.lang.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 java.lang.String getName()
Deprecated.Returns the String name of the enum- Returns:
- The String name of the enum
-
-