Package org.isda.cdm
Enum TriggerTypeEnum
- java.lang.Object
-
- java.lang.Enum<TriggerTypeEnum>
-
- org.isda.cdm.TriggerTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TriggerTypeEnum>
public enum TriggerTypeEnum extends java.lang.Enum<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:
- 2.5.4
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL
The underlier price must be equal to the Trigger level.EQUAL_OR_GREATER
The underlier price must be equal to or greater than the Trigger level.EQUAL_OR_LESS
The underlier price must be equal to or less than the Trigger level.GREATER
The underlier price must be greater than the Trigger level.LESS
The underlier price must be less than the Trigger level.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static TriggerTypeEnum
valueOf(java.lang.String name)
Returns 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 Detail
-
EQUAL_OR_LESS
@RosettaSynonym(value="EqualOrLess",source="FpML_5_10") @RosettaSynonym(value="EqualOrLess",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="EqualOrLess",source="DTCC_11_0") @RosettaSynonym(value="EqualOrLess",source="DTCC_9_0") @RosettaSynonym(value="EqualOrLess",source="CME_ClearedConfirm_1_17") public static final TriggerTypeEnum EQUAL_OR_LESS
The underlier price must be equal to or less than the Trigger level.
-
EQUAL_OR_GREATER
@RosettaSynonym(value="EqualOrGreater",source="FpML_5_10") @RosettaSynonym(value="EqualOrGreater",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="EqualOrGreater",source="DTCC_11_0") @RosettaSynonym(value="EqualOrGreater",source="DTCC_9_0") @RosettaSynonym(value="EqualOrGreater",source="CME_ClearedConfirm_1_17") public static final TriggerTypeEnum EQUAL_OR_GREATER
The underlier price must be equal to or greater than the Trigger level.
-
EQUAL
@RosettaSynonym(value="Equal",source="FpML_5_10") @RosettaSynonym(value="Equal",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="Equal",source="DTCC_11_0") @RosettaSynonym(value="Equal",source="DTCC_9_0") @RosettaSynonym(value="Equal",source="CME_ClearedConfirm_1_17") public static final TriggerTypeEnum EQUAL
The underlier price must be equal to the Trigger level.
-
LESS
@RosettaSynonym(value="Less",source="FpML_5_10") @RosettaSynonym(value="Less",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="Less",source="DTCC_11_0") @RosettaSynonym(value="Less",source="DTCC_9_0") @RosettaSynonym(value="Less",source="CME_ClearedConfirm_1_17") public static final TriggerTypeEnum LESS
The underlier price must be less than the Trigger level.
-
GREATER
@RosettaSynonym(value="Greater",source="FpML_5_10") @RosettaSynonym(value="Greater",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="Greater",source="DTCC_11_0") @RosettaSynonym(value="Greater",source="DTCC_9_0") @RosettaSynonym(value="Greater",source="CME_ClearedConfirm_1_17") public static final TriggerTypeEnum GREATER
The underlier price must be greater than the Trigger level.
-
-
Method Detail
-
values
public static TriggerTypeEnum[] 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 (TriggerTypeEnum c : TriggerTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TriggerTypeEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TriggerTypeEnum>
-
-