Enum QuotationStyleEnum

java.lang.Object
java.lang.Enum<QuotationStyleEnum>
cdm.observable.asset.QuotationStyleEnum
All Implemented Interfaces:
Serializable, Comparable<QuotationStyleEnum>

@RosettaEnum("QuotationStyleEnum") public enum QuotationStyleEnum extends Enum<QuotationStyleEnum>
The enumerated values to specify the actual quotation style (e.g. PointsUpFront, TradedSpread) used to quote a credit default swap fee leg.
Version:
5.30.0
  • Enum Constant Details

    • POINTS_UP_FRONT

      @RosettaEnumValue("PointsUpFront") public static final QuotationStyleEnum POINTS_UP_FRONT
      When quotation style is 'PointsUpFront', the initialPoints element of the Credit Default Swap feeLeg should be populated
    • TRADED_SPREAD

      @RosettaEnumValue("TradedSpread") public static final QuotationStyleEnum TRADED_SPREAD
      When quotation style is 'TradedSpread', the marketFixedRate element of the Credit Default Swap feeLeg should be populated
    • PRICE

      @RosettaEnumValue("Price") public static final QuotationStyleEnum PRICE
      When quotation style is 'Price', the marketPrice element of the Credit Default Swap feeLeg should be populated
  • Method Details

    • values

      public static QuotationStyleEnum[] 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 QuotationStyleEnum 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 QuotationStyleEnum fromDisplayName(String name)
    • toString

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

      public String toDisplayString()