Enum Class SaCcr.HedgingSetType
- All Implemented Interfaces:
Serializable, Comparable<SaCcr.HedgingSetType>, Constable
- Enclosing class:
SaCcr
Hedging-set kind of a trade (paras 162-163) and its multiplier on
the supervisory factor.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBasis transaction, own hedging set per risk-factor pair, factor 0.5.Ordinary hedging set, factor 1.Volatility transaction, own hedging set, factor 5. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the multiplier applied to the supervisory factor.static SaCcr.HedgingSetTypeReturns the enum constant of this class with the specified name.static SaCcr.HedgingSetType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ORDINARY
Ordinary hedging set, factor 1. -
BASIS
Basis transaction, own hedging set per risk-factor pair, factor 0.5. -
VOLATILITY
Volatility transaction, own hedging set, factor 5.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
factorMultiplier
public double factorMultiplier()Returns the multiplier applied to the supervisory factor.
-