Package org.isda.cdm
Enum IntentEnum
- java.lang.Object
-
- java.lang.Enum<IntentEnum>
-
- org.isda.cdm.IntentEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IntentEnum>
public enum IntentEnum extends java.lang.Enum<IntentEnum>
The enumeration values to qualify the intent associated with a transaction event.- Version:
- 2.5.4
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CORRECTION
The intent is to correct the event or associated execution/contract.INCREASE
The intent is to increase the notional or quantity associated with the contract or execution.PARTIAL_TERMINATION
The intent is to reduce the notional or quantity associated with the contract (a.k.a.RENEGOTIATION
The intent is to re-negotiate some of the terms of the contract.TERMINATION
The intent is to terminate the contract.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static IntentEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IntentEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CORRECTION
@RosettaSynonym(value="correction", source="Rosetta_Workbench") public static final IntentEnum CORRECTION
The intent is to correct the event or associated execution/contract.
-
INCREASE
@RosettaSynonym(value="increase", source="Rosetta_Workbench") public static final IntentEnum INCREASE
The intent is to increase the notional or quantity associated with the contract or execution.
-
PARTIAL_TERMINATION
@RosettaSynonym(value="partialTermination", source="Rosetta_Workbench") public static final IntentEnum PARTIAL_TERMINATION
The intent is to reduce the notional or quantity associated with the contract (a.k.a. partially terminate it).
-
RENEGOTIATION
@RosettaSynonym(value="renegotiation", source="Rosetta_Workbench") public static final IntentEnum RENEGOTIATION
The intent is to re-negotiate some of the terms of the contract.
-
TERMINATION
@RosettaSynonym(value="termination", source="Rosetta_Workbench") public static final IntentEnum TERMINATION
The intent is to terminate the contract.
-
-
Method Detail
-
values
public static IntentEnum[] 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 (IntentEnum c : IntentEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IntentEnum 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<IntentEnum>
-
-