Package org.isda.cdm

Enum QuoteBasisEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<QuoteBasisEnum>

    public enum QuoteBasisEnum
    extends java.lang.Enum<QuoteBasisEnum>
    The enumerated values to specify how an exchange rate is quoted.
    Version:
    2.5.4
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      static QuoteBasisEnum valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static QuoteBasisEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • CURRENCY_1_PER_CURRENCY_2

        @RosettaSynonym(value="Currency1PerCurrency2",source="FpML_5_10") @RosettaSynonym(value="Currency1PerCurrency2",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="Currency1PerCurrency2",source="DTCC_11_0") @RosettaSynonym(value="Currency1PerCurrency2",source="DTCC_9_0") @RosettaSynonym(value="Currency1PerCurrency2",source="CME_ClearedConfirm_1_17")
        public static final QuoteBasisEnum CURRENCY_1_PER_CURRENCY_2
        The amount of currency1 for one unit of currency2
      • CURRENCY_2_PER_CURRENCY_1

        @RosettaSynonym(value="Currency2PerCurrency1",source="FpML_5_10") @RosettaSynonym(value="Currency2PerCurrency1",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="Currency2PerCurrency1",source="DTCC_11_0") @RosettaSynonym(value="Currency2PerCurrency1",source="DTCC_9_0") @RosettaSynonym(value="Currency2PerCurrency1",source="CME_ClearedConfirm_1_17")
        public static final QuoteBasisEnum CURRENCY_2_PER_CURRENCY_1
        The amount of currency2 for one unit of currency1
    • Method Detail

      • values

        public static QuoteBasisEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (QuoteBasisEnum c : QuoteBasisEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QuoteBasisEnum valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<QuoteBasisEnum>