Enum PriceExpressionEnum

java.lang.Object
java.lang.Enum<PriceExpressionEnum>
cdm.observable.asset.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 Details

    • ABSOLUTE_TERMS

      @RosettaEnumValue("AbsoluteTerms") public static final PriceExpressionEnum ABSOLUTE_TERMS
      The price is expressed as an absolute amount.
    • PERCENTAGE_OF_NOTIONAL

      @RosettaEnumValue("PercentageOfNotional") public static final PriceExpressionEnum PERCENTAGE_OF_NOTIONAL
      The price is expressed in percentage of the notional amount.
    • PAR_VALUE_FRACTION

      @RosettaEnumValue("ParValueFraction") public static final PriceExpressionEnum 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

      @RosettaEnumValue("PerOption") public static final PriceExpressionEnum PER_OPTION
      Denotes a price expressed per number of options.
  • Method Details

    • values

      public static PriceExpressionEnum[] 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

      public static PriceExpressionEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromDisplayName

      public static PriceExpressionEnum fromDisplayName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PriceExpressionEnum>
    • toDisplayString

      public String toDisplayString()