Package com.epam.fixengine
Enum Class ChangesType
- All Implemented Interfaces:
Serializable
,Comparable<ChangesType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse this type to add header's and trailer's tags to the message.Use this type to make sure that all tags in header and trailer have only one instance in message.Use this type to update existed tags in header and trailer.Use this type to update existed tags in header and trailer, except SenderCompID(49).Update Sub and Location Ids only if CompId is absent. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangesType
Returns the enum constant of this class with the specified name.static ChangesType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE_SMH_AND_SMT
Use this type to update existed tags in header and trailer. -
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
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
Use this type to make sure that all tags in header and trailer have only one instance in message. -
UPDATE_SMH_AND_SMT_EXCEPT_COMPIDS
Update Sub and Location Ids only if CompId is absent. In other case lease them as they are in message.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-