Package cdm.observable.event
Enum TriggerTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<TriggerTypeEnum>
The enumerated values to specify whether an option will trigger or expire depending upon whether the spot rate is above or below the barrier rate.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe underlier price must be equal to the Trigger level.The underlier price must be equal to or greater than the Trigger level.The underlier price must be equal to or less than the Trigger level.The underlier price must be greater than the Trigger level.The underlier price must be less than the Trigger level. -
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerTypeEnumfromDisplayName(String name) toString()static TriggerTypeEnumReturns the enum constant of this type with the specified name.static TriggerTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EQUAL_OR_LESS
The underlier price must be equal to or less than the Trigger level. -
EQUAL_OR_GREATER
The underlier price must be equal to or greater than the Trigger level. -
EQUAL
The underlier price must be equal to the Trigger level. -
LESS
The underlier price must be less than the Trigger level. -
GREATER
The underlier price must be greater than the Trigger level.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
fromDisplayName
-
toString
- Overrides:
toStringin classEnum<TriggerTypeEnum>
-
toDisplayString
-