Package de.gsi.financial.samples.dos
Enum OrderExpression.OrderType
- java.lang.Object
-
- java.lang.Enum<OrderExpression.OrderType>
-
- de.gsi.financial.samples.dos.OrderExpression.OrderType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OrderExpression.OrderType>
- Enclosing class:
- OrderExpression
public static enum OrderExpression.OrderType extends java.lang.Enum<OrderExpression.OrderType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIMITMARKETMITMOCMOOOCO_BUY_STOP_SELL_STOPOCO_LIMIT_STOPSTOPSTOP_LIMIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrderExpression.OrderTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OrderExpression.OrderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MARKET
public static final OrderExpression.OrderType MARKET
-
LIMIT
public static final OrderExpression.OrderType LIMIT
-
STOP
public static final OrderExpression.OrderType STOP
-
MIT
public static final OrderExpression.OrderType MIT
-
STOP_LIMIT
public static final OrderExpression.OrderType STOP_LIMIT
-
MOC
public static final OrderExpression.OrderType MOC
-
MOO
public static final OrderExpression.OrderType MOO
-
OCO_LIMIT_STOP
public static final OrderExpression.OrderType OCO_LIMIT_STOP
-
OCO_BUY_STOP_SELL_STOP
public static final OrderExpression.OrderType OCO_BUY_STOP_SELL_STOP
-
-
Method Detail
-
values
public static OrderExpression.OrderType[] 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 (OrderExpression.OrderType c : OrderExpression.OrderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderExpression.OrderType 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
-
-