Package org.isda.cdm
Enum ClosedStateEnum
- java.lang.Object
-
- java.lang.Enum<ClosedStateEnum>
-
- org.isda.cdm.ClosedStateEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClosedStateEnum>
public enum ClosedStateEnum extends java.lang.Enum<ClosedStateEnum>
The enumerated values to specify what led to the contract or execution closure.- Version:
- 2.5.4
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOCATED
The execution or contract has been allocated.CANCELLED
The execution or contract has been cancelled.EXERCISED
The (option) contract has been exercised.EXPIRED
The (option) contract has expired without being exercised.MATURED
The contract has reached its contractual termination date.NOVATED
The contract has been novated.TERMINATED
The contract has been subject of an early termination event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static ClosedStateEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClosedStateEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOCATED
@RosettaSynonym(value="allocated", source="Rosetta_Workbench") public static final ClosedStateEnum ALLOCATED
The execution or contract has been allocated.
-
CANCELLED
@RosettaSynonym(value="cancelled", source="Rosetta_Workbench") public static final ClosedStateEnum CANCELLED
The execution or contract has been cancelled.
-
EXERCISED
@RosettaSynonym(value="exercised", source="Rosetta_Workbench") public static final ClosedStateEnum EXERCISED
The (option) contract has been exercised.
-
EXPIRED
public static final ClosedStateEnum EXPIRED
The (option) contract has expired without being exercised.
-
MATURED
public static final ClosedStateEnum MATURED
The contract has reached its contractual termination date.
-
NOVATED
@RosettaSynonym(value="novated", source="Rosetta_Workbench") public static final ClosedStateEnum NOVATED
The contract has been novated. This state applies to the stepped-out contract component of the novation event.
-
TERMINATED
@RosettaSynonym(value="terminated", source="Rosetta_Workbench") public static final ClosedStateEnum TERMINATED
The contract has been subject of an early termination event.
-
-
Method Detail
-
values
public static ClosedStateEnum[] 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 (ClosedStateEnum c : ClosedStateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClosedStateEnum 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<ClosedStateEnum>
-
-