Package org.isda.cdm
Class ForeignExchange
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForeignExchange.ForeignExchangeBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ForeignExchange.ForeignExchangeBuilder
builder()
boolean
equals(java.lang.Object o)
Cashflow
getExchangedCurrency1()
This is the first of the two currency flows that define a single leg of a standard foreign exchange transaction.Cashflow
getExchangedCurrency2()
This is the second of the two currency flows that define a single leg of a standard foreign exchange transaction.ExchangeRate
getExchangeRate()
The rate of exchange between the two currencies.Period
getTenorPeriod()
A tenor expressed as a period type and multiplier (e.g.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ForeignExchange>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ForeignExchange.ForeignExchangeBuilder
toBuilder()
java.lang.String
toString()
-
-
-
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 classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ForeignExchange.ForeignExchangeBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ForeignExchange.ForeignExchangeBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-