com.teraspaces.qwfix.ordermanager
Enum FIXSessionOrderManagerSide

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

public enum FIXSessionOrderManagerSide
extends Enum<FIXSessionOrderManagerSide>

Defines the side of a FIX session that supports Order Manager.


Enum Constant Summary
BUY_SIDE
          The FIX session is a buy side session.
NOT_SUPPORTED
          The FIX session doesn't support order manager.
SELL_SIDE
          The FIX session is a sell side session.
 
Method Summary
static FIXSessionOrderManagerSide valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FIXSessionOrderManagerSide[] 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

BUY_SIDE

public static final FIXSessionOrderManagerSide BUY_SIDE
The FIX session is a buy side session.


SELL_SIDE

public static final FIXSessionOrderManagerSide SELL_SIDE
The FIX session is a sell side session.


NOT_SUPPORTED

public static final FIXSessionOrderManagerSide NOT_SUPPORTED
The FIX session doesn't support order manager.

Method Detail

values

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

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

valueOf

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