Package cdm.product.asset
Class ForeignExchange.ForeignExchangeImpl
java.lang.Object
cdm.product.asset.ForeignExchange.ForeignExchangeImpl
- All Implemented Interfaces:
ForeignExchange,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
ForeignExchange
Immutable Implementation of ForeignExchange
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThis 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.)inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.ForeignExchange
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ForeignExchangeImpl
-
-
Method Details
-
getExchangedCurrency1
@RosettaAttribute(value="exchangedCurrency1", isRequired=true) @RuneAttribute(value="exchangedCurrency1", isRequired=true) public Cashflow 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
-
getExchangedCurrency2
@RosettaAttribute(value="exchangedCurrency2", isRequired=true) @RuneAttribute(value="exchangedCurrency2", isRequired=true) public Cashflow 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
-
getTenorPeriod
Description copied from interface:ForeignExchangeA tenor expressed as a period type and multiplier (e.g. 1D, 1Y, etc.)- Specified by:
getTenorPeriodin interfaceForeignExchange
-
getExchangeRate
@RosettaAttribute("exchangeRate") @RuneAttribute("exchangeRate") public ExchangeRate getExchangeRate()Description copied from interface:ForeignExchangeThe rate of exchange between the two currencies.- Specified by:
getExchangeRatein interfaceForeignExchange
-
build
Description copied from interface:ForeignExchangeBuild Methods- Specified by:
buildin interfaceForeignExchange- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceForeignExchange- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-