Package cdm.product.asset
Enum FinalPrincipalExchangeCalculationEnum
java.lang.Object
java.lang.Enum<FinalPrincipalExchangeCalculationEnum>
cdm.product.asset.FinalPrincipalExchangeCalculationEnum
- All Implemented Interfaces:
Serializable,Comparable<FinalPrincipalExchangeCalculationEnum>
@RosettaEnum("FinalPrincipalExchangeCalculationEnum")
public enum FinalPrincipalExchangeCalculationEnum
extends Enum<FinalPrincipalExchangeCalculationEnum>
To be specified only for products that embed a redemption payment.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf Floored is set then Principal Exchange takes the form: Notional Amount * Max(1, Index Final/ Index Base).If NonFloored is set then the Principal Exchange takes the form: Notional Amount * Index Final / Index Base. -
Method Summary
Modifier and TypeMethodDescriptionfromDisplayName(String name) toString()Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FLOORED
If Floored is set then Principal Exchange takes the form: Notional Amount * Max(1, Index Final/ Index Base). -
NON_FLOORED
@RosettaEnumValue("NonFloored") public static final FinalPrincipalExchangeCalculationEnum NON_FLOOREDIf NonFloored is set then the Principal Exchange takes the form: Notional Amount * Index Final / Index Base.
-
-
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<FinalPrincipalExchangeCalculationEnum>
-
toDisplayString
-