Package cdm.product.asset
Interface ForeignExchange
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
ForeignExchange.ForeignExchangeBuilder
- All Known Implementing Classes:
ForeignExchange.ForeignExchangeBuilderImpl,ForeignExchange.ForeignExchangeImpl
@RosettaDataType(value="ForeignExchange",
builder=ForeignExchangeBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="ForeignExchange",
model="cdm",
builder=ForeignExchangeBuilderImpl.class,
version="5.30.0")
public interface ForeignExchange
extends com.rosetta.model.lib.RosettaModelObject
From FpML: A type defining either a spot or forward FX transactions.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of ForeignExchangestatic classImmutable Implementation of ForeignExchange -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()This is the first of the two currency flows that define a single leg of a standard foreign exchange transaction.This is the second of the two currency flows that define a single leg of a standard foreign exchange transaction.The rate of exchange between the two currencies.A tenor expressed as a period type and multiplier (e.g. 1D, 1Y, etc.)default Class<? extends ForeignExchange> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends ForeignExchange> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getExchangedCurrency1
Cashflow getExchangedCurrency1()This is the first of the two currency flows that define a single leg of a standard foreign exchange transaction. -
getExchangedCurrency2
Cashflow getExchangedCurrency2()This is the second of the two currency flows that define a single leg of a standard foreign exchange transaction. -
getTenorPeriod
Period getTenorPeriod()A tenor expressed as a period type and multiplier (e.g. 1D, 1Y, etc.) -
getExchangeRate
ExchangeRate getExchangeRate()The rate of exchange between the two currencies. -
build
ForeignExchange build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
ForeignExchange.ForeignExchangeBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-