Package org.isda.cdm

Class ForeignExchange


  • @RosettaClass
    @RosettaSynonym(value="FxSingleLeg",
                    source="FpML_5_10")
    public class ForeignExchange
    extends com.rosetta.model.lib.RosettaModelObject
    From FpML: A type defining either a spot or forward FX transactions.
    Version:
    2.5.4
    • Method Detail

      • getExchangeRate

        @RosettaSynonym(value="exchangeRate",
                        source="FpML_5_10")
        public final ExchangeRate getExchangeRate()
        The rate of exchange between the two currencies.
      • getExchangedCurrency1

        @RosettaSynonym(value="exchangedCurrency1",
                        source="FpML_5_10")
        public final Cashflow getExchangedCurrency1()
        This is the first of the two currency flows that define a single leg of a standard foreign exchange transaction.
      • getExchangedCurrency2

        @RosettaSynonym(value="exchangedCurrency2",
                        source="FpML_5_10")
        public final Cashflow getExchangedCurrency2()
        This is the second of the two currency flows that define a single leg of a standard foreign exchange transaction.
      • getTenorPeriod

        @RosettaSynonym(value="tenorPeriod",
                        source="FpML_5_10")
        public final Period getTenorPeriod()
        A tenor expressed as a period type and multiplier (e.g. 1D, 1Y, etc.)
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends ForeignExchange> metaData()
        Specified by:
        metaData in class com.rosetta.model.lib.RosettaModelObject
      • process

        public void process​(com.rosetta.model.lib.path.RosettaPath path,
                            com.rosetta.model.lib.process.Processor processor)
        Specified by:
        process in class com.rosetta.model.lib.RosettaModelObject
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object