Package cdm.event.position
Enum PositionStatusEnum
- All Implemented Interfaces:
Serializable,Comparable<PositionStatusEnum>
Enumeration to describe the different (risk) states of a Position, whether executed, settled, matured...etc
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe position has been cancelled, in case of a cancellation event following an execution.The position has been closed, in case of a termination event.The position has been executed, which is the point at which risk has been transferred.Contract has been formed, in case position is on a contractual product.The position has settled, in case product is subject to settlement after execution, such as securities. -
Method Summary
Modifier and TypeMethodDescriptionstatic PositionStatusEnumfromDisplayName(String name) toString()static PositionStatusEnumReturns the enum constant of this type with the specified name.static PositionStatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXECUTED
The position has been executed, which is the point at which risk has been transferred. -
FORMED
Contract has been formed, in case position is on a contractual product. -
SETTLED
The position has settled, in case product is subject to settlement after execution, such as securities. -
CANCELLED
The position has been cancelled, in case of a cancellation event following an execution. -
CLOSED
The position has been closed, in case of a termination event.
-
-
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<PositionStatusEnum>
-
toDisplayString
-