Enum InflationCalculationStyleEnum
java.lang.Object
java.lang.Enum<InflationCalculationStyleEnum>
cdm.observable.asset.calculatedrate.InflationCalculationStyleEnum
- All Implemented Interfaces:
Serializable,Comparable<InflationCalculationStyleEnum>
@RosettaEnum("InflationCalculationStyleEnum")
public enum InflationCalculationStyleEnum
extends Enum<InflationCalculationStyleEnum>
Indicates the style of how the inflation index calculates the payment (e.g. YearOnYear, ZeroCoupon).
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionYearOnYear means Inflation Index Base is the inflation index for Reference Month that is 12 months prior to Inflation Index Final (subject to interpolation).ZeroCoupon means Inflation Index Base used in the CalculationMethod is the inflation index for the Reference Month that is the lag number of months prior to Effective Date in the case of a swap, or Bond Interest Accrual Date in the case of an Asset Swap (subject to interpolation). -
Method Summary
Modifier and TypeMethodDescriptionfromDisplayName(String name) toString()Returns the enum constant of this type with the specified name.static InflationCalculationStyleEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
YEAR_ON_YEAR
YearOnYear means Inflation Index Base is the inflation index for Reference Month that is 12 months prior to Inflation Index Final (subject to interpolation). Inflation Index Base is cashflow dependent. -
ZERO_COUPON
ZeroCoupon means Inflation Index Base used in the CalculationMethod is the inflation index for the Reference Month that is the lag number of months prior to Effective Date in the case of a swap, or Bond Interest Accrual Date in the case of an Asset Swap (subject to interpolation). Inflation Index Base has the same value for each inflation cashflow and Principal Exchange calculation within the trade.
-
-
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<InflationCalculationStyleEnum>
-
toDisplayString
-