com.teraspaces.qwfix
Enum FIXSessionDuplicatedFieldHandlingOption

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

public enum FIXSessionDuplicatedFieldHandlingOption
extends Enum<FIXSessionDuplicatedFieldHandlingOption>

Specifies the actions when a duplicated field is found in a FIX message during decode process.


Enum Constant Summary
IGNORE
          Ignores that field.
RAISE_ERROR
          Raises an error, which finally turns into a session rejects message sent to the peer.
VERIFY
          Verifies the value of the field.
 
Method Summary
static FIXSessionDuplicatedFieldHandlingOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FIXSessionDuplicatedFieldHandlingOption[] 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

IGNORE

public static final FIXSessionDuplicatedFieldHandlingOption IGNORE
Ignores that field.


RAISE_ERROR

public static final FIXSessionDuplicatedFieldHandlingOption RAISE_ERROR
Raises an error, which finally turns into a session rejects message sent to the peer.


VERIFY

public static final FIXSessionDuplicatedFieldHandlingOption VERIFY
Verifies the value of the field. If it's not the same as the field previously decoded, raises error.

Method Detail

values

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

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

valueOf

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