com.teraspaces.qwfix.ordermanager
Enum FIXOrderType

java.lang.Object
  extended by java.lang.Enum<FIXOrderType>
      extended by com.teraspaces.qwfix.ordermanager.FIXOrderType
All Implemented Interfaces:
Serializable, Comparable<FIXOrderType>

public enum FIXOrderType
extends Enum<FIXOrderType>

Specifies the type of an FIXOrder.

See Also:
FIXOrder.getFIXOrderType()

Enum Constant Summary
CROSS
          An order with a "New Order - Cross" message.
CROSS_POPULATED
          An individual order populated from a cross order.
INVALID
          The INVALID type, only used with FIXSessionOrderManagerGTOrderHandler.queryRestatedGTOrder(com.teraspaces.qwfix.FIXMessage, com.teraspaces.qwfix.FIXEngineMessageHandlerStatus).
LIST
          An order with a "New Order - List" message.
LIST_POPULATED
          An individual order populated from a list order.
MULTILEG
          An order with a "New Order - Multileg" message.
SINGLE
          An order with a "New Order - Single" message.
 
Method Summary
static FIXOrderType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FIXOrderType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SINGLE

public static final FIXOrderType SINGLE
An order with a "New Order - Single" message. Represented by an instance of FIXRegularOrder.


MULTILEG

public static final FIXOrderType MULTILEG
An order with a "New Order - Multileg" message. Represented by an instance of FIXRegularOrder.


CROSS

public static final FIXOrderType CROSS
An order with a "New Order - Cross" message. Represented by an instance of FIXCrossOrder.


CROSS_POPULATED

public static final FIXOrderType CROSS_POPULATED
An individual order populated from a cross order. Represented by an instance of FIXRegularOrder. A cross order may populate 1 or 2 regular orders, depending on the number of sides defined in the cross order.


LIST

public static final FIXOrderType LIST
An order with a "New Order - List" message. Represented by an instance of FIXListOrder.


LIST_POPULATED

public static final FIXOrderType LIST_POPULATED
An individual order populated from a list order. Represented by an instance of FIXRegularOrder.


INVALID

public static final FIXOrderType INVALID
The INVALID type, only used with FIXSessionOrderManagerGTOrderHandler.queryRestatedGTOrder(com.teraspaces.qwfix.FIXMessage, com.teraspaces.qwfix.FIXEngineMessageHandlerStatus).

Method Detail

values

public static FIXOrderType[] 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 (FIXOrderType c : FIXOrderType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FIXOrderType 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