Package org.isda.cdm

Enum PriceExpressionEnum

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

    public enum PriceExpressionEnum
    extends java.lang.Enum<PriceExpressionEnum>
    he enumerated values to specify whether the price is expressed in absolute or relative terms.
    Version:
    2.5.4
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ABSOLUTE_TERMS
      The price is expressed as an absolute amount.
      PERCENTAGE_OF_NOTIONAL
      The price is expressed in percentage of the notional amount.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      static PriceExpressionEnum valueOf​(java.lang.String name)
      Returns 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.
      • 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

      • ABSOLUTE_TERMS

        @RosettaSynonym(value="AbsoluteTerms",
                        source="FpML_5_10")
        public static final PriceExpressionEnum ABSOLUTE_TERMS
        The price is expressed as an absolute amount.
      • PERCENTAGE_OF_NOTIONAL

        @RosettaSynonym(value="PercentageOfNotional",
                        source="FpML_5_10")
        public static final PriceExpressionEnum PERCENTAGE_OF_NOTIONAL
        The price is expressed in percentage of the notional amount.
    • Method Detail

      • values

        public static PriceExpressionEnum[] 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 (PriceExpressionEnum c : PriceExpressionEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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