Package cdm.product.template
Enum MarginTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<MarginTypeEnum>
This indicator defines which type of assets (cash or securities) is specified to apply as margin to the repo transaction.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the margin type is Cash, the margin factor is applied to the cash value of the transaction.When the margin type is Instrument, the margin factor is applied to the instrument value for the transaction. -
Method Summary
Modifier and TypeMethodDescriptionstatic MarginTypeEnumfromDisplayName(String name) toString()static MarginTypeEnumReturns the enum constant of this type with the specified name.static MarginTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CASH
When the margin type is Cash, the margin factor is applied to the cash value of the transaction. -
INSTRUMENT
When the margin type is Instrument, the margin factor is applied to the instrument value for the transaction. In the 'instrument' case, the haircut would be applied to the securities.
-
-
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<MarginTypeEnum>
-
toDisplayString
-