com.epam.fixengine
Enum ChangesType

java.lang.Object
  extended by java.lang.Enum<ChangesType>
      extended by com.epam.fixengine.ChangesType
All Implemented Interfaces:
Serializable, Comparable<ChangesType>

public enum ChangesType
extends Enum<ChangesType>


Enum Constant Summary
ADD_SMH_AND_SMT
          Use this type to add header's and trailer's tags to the message.
DELETE_AND_ADD_SMH_AND_SMT
          Use this type to make sure that all tags in header and trailer have only one instance in message.
UPDATE_SMH_AND_SMT
          Use this type to update existed tags in header and trailer.
UPDATE_SMH_AND_SMT_DONOT_UPDATE_SNDR
          Use this type to update existed tags in header and trailer, except SenderCompID(49).
 
Method Summary
static ChangesType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChangesType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UPDATE_SMH_AND_SMT

public static final ChangesType UPDATE_SMH_AND_SMT
Use this type to update existed tags in header and trailer.


ADD_SMH_AND_SMT

public static final ChangesType ADD_SMH_AND_SMT
Use this type to add header's and trailer's tags to the message. Note: make sure that message doesn't contains header's and trailer's tags. In other case tags could be duplicated.


UPDATE_SMH_AND_SMT_DONOT_UPDATE_SNDR

public static final ChangesType UPDATE_SMH_AND_SMT_DONOT_UPDATE_SNDR
Use this type to update existed tags in header and trailer, except SenderCompID(49). This type is similar to UPDATE_SMH_AND_SMT but doesn't update SenderCompID(49) tag.


DELETE_AND_ADD_SMH_AND_SMT

public static final ChangesType DELETE_AND_ADD_SMH_AND_SMT
Use this type to make sure that all tags in header and trailer have only one instance in message.

Method Detail

values

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

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

valueOf

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


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.