Package cdm.product.asset
Interface ForeignExchange.ForeignExchangeBuilder
- All Superinterfaces:
ForeignExchange,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
ForeignExchange.ForeignExchangeBuilderImpl
- Enclosing interface:
ForeignExchange
public static interface ForeignExchange.ForeignExchangeBuilder
extends ForeignExchange, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.ForeignExchange
ForeignExchange.ForeignExchangeBuilder, ForeignExchange.ForeignExchangeBuilderImpl, ForeignExchange.ForeignExchangeImpl -
Field Summary
Fields inherited from interface cdm.product.asset.ForeignExchange
metaData -
Method Summary
Modifier and TypeMethodDescriptionThis 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 voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setExchangedCurrency1(Cashflow exchangedCurrency1) setExchangedCurrency2(Cashflow exchangedCurrency2) setExchangeRate(ExchangeRate exchangeRate) setTenorPeriod(Period tenorPeriod) Methods inherited from interface cdm.product.asset.ForeignExchange
build, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateExchangedCurrency1
Cashflow.CashflowBuilder getOrCreateExchangedCurrency1() -
getExchangedCurrency1
Cashflow.CashflowBuilder getExchangedCurrency1()Description copied from interface:ForeignExchangeThis is the first of the two currency flows that define a single leg of a standard foreign exchange transaction.- Specified by:
getExchangedCurrency1in interfaceForeignExchange
-
getOrCreateExchangedCurrency2
Cashflow.CashflowBuilder getOrCreateExchangedCurrency2() -
getExchangedCurrency2
Cashflow.CashflowBuilder getExchangedCurrency2()Description copied from interface:ForeignExchangeThis is the second of the two currency flows that define a single leg of a standard foreign exchange transaction.- Specified by:
getExchangedCurrency2in interfaceForeignExchange
-
getOrCreateTenorPeriod
Period.PeriodBuilder getOrCreateTenorPeriod() -
getTenorPeriod
Period.PeriodBuilder getTenorPeriod()Description copied from interface:ForeignExchangeA tenor expressed as a period type and multiplier (e.g. 1D, 1Y, etc.)- Specified by:
getTenorPeriodin interfaceForeignExchange
-
getOrCreateExchangeRate
ExchangeRate.ExchangeRateBuilder getOrCreateExchangeRate() -
getExchangeRate
ExchangeRate.ExchangeRateBuilder getExchangeRate()Description copied from interface:ForeignExchangeThe rate of exchange between the two currencies.- Specified by:
getExchangeRatein interfaceForeignExchange
-
setExchangedCurrency1
-
setExchangedCurrency2
-
setTenorPeriod
-
setExchangeRate
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-