Enum CalculationMethodEnum
- All Implemented Interfaces:
Serializable,Comparable<CalculationMethodEnum>
@RosettaEnum("CalculationMethodEnum")
public enum CalculationMethodEnum
extends Enum<CalculationMethodEnum>
What calculation type is required, averaging or compounding. This enumeration is used to represent the definitions of modular calculated rates as described in the 2021 ISDA Definitions, section 7.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAveraging, i.e. arithmetic averaging.A rate based on an index that is computed by a rate administrator.Compounding, i.e. geometric averaging following an ISDA defined formula. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalculationMethodEnumfromDisplayName(String name) toString()static CalculationMethodEnumReturns the enum constant of this type with the specified name.static CalculationMethodEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AVERAGING
Averaging, i.e. arithmetic averaging. -
COMPOUNDING
Compounding, i.e. geometric averaging following an ISDA defined formula. -
COMPOUNDED_INDEX
A rate based on an index that is computed by a rate administrator. The user is responsible for backing out the rate by applying a simple formula.
-
-
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<CalculationMethodEnum>
-
toDisplayString
-