Package cdm.observable.asset
Enum PriceExpressionEnum
- All Implemented Interfaces:
Serializable,Comparable<PriceExpressionEnum>
@RosettaEnum("PriceExpressionEnum")
public enum PriceExpressionEnum
extends Enum<PriceExpressionEnum>
Enumerated values to specify whether the price is expressed in absolute or relative terms.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe price is expressed as an absolute amount.Denotes a price expressed in percentage of face value with fractions which is used for quoting bonds, e.g. 101 3/8 indicates that the buyer will pay 101.375 of the face value.Denotes a price expressed per number of options.The price is expressed in percentage of the notional amount. -
Method Summary
Modifier and TypeMethodDescriptionstatic PriceExpressionEnumfromDisplayName(String name) toString()static PriceExpressionEnumReturns the enum constant of this type with the specified name.static PriceExpressionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABSOLUTE_TERMS
The price is expressed as an absolute amount. -
PERCENTAGE_OF_NOTIONAL
@RosettaEnumValue("PercentageOfNotional") public static final PriceExpressionEnum PERCENTAGE_OF_NOTIONALThe price is expressed in percentage of the notional amount. -
PAR_VALUE_FRACTION
Denotes a price expressed in percentage of face value with fractions which is used for quoting bonds, e.g. 101 3/8 indicates that the buyer will pay 101.375 of the face value. -
PER_OPTION
Denotes a price expressed per number of options.
-
-
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<PriceExpressionEnum>
-
toDisplayString
-