Enum AbstractRFSLifetimeEventHandler.TradeState
- java.lang.Object
-
- java.lang.Enum<AbstractRFSLifetimeEventHandler.TradeState>
-
- com.caplin.motif.fx.ret.fxtrading.submission.rfs.AbstractRFSLifetimeEventHandler.TradeState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractRFSLifetimeEventHandler.TradeState>
- Enclosing class:
- AbstractRFSLifetimeEventHandler
public static enum AbstractRFSLifetimeEventHandler.TradeState extends java.lang.Enum<AbstractRFSLifetimeEventHandler.TradeState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
ERROR
PICKED_UP
QUOTE_RECEIVED
SUBMITTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractRFSLifetimeEventHandler.TradeState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractRFSLifetimeEventHandler.TradeState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBMITTED
public static final AbstractRFSLifetimeEventHandler.TradeState SUBMITTED
-
PICKED_UP
public static final AbstractRFSLifetimeEventHandler.TradeState PICKED_UP
-
QUOTE_RECEIVED
public static final AbstractRFSLifetimeEventHandler.TradeState QUOTE_RECEIVED
-
COMPLETE
public static final AbstractRFSLifetimeEventHandler.TradeState COMPLETE
-
ERROR
public static final AbstractRFSLifetimeEventHandler.TradeState ERROR
-
-
Method Detail
-
values
public static AbstractRFSLifetimeEventHandler.TradeState[] values()
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 (AbstractRFSLifetimeEventHandler.TradeState c : AbstractRFSLifetimeEventHandler.TradeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractRFSLifetimeEventHandler.TradeState valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-