Package cdm.observable.asset
Class FxRate.FxRateImpl
java.lang.Object
cdm.observable.asset.FxRate.FxRateImpl
- All Implemented Interfaces:
FxRate,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
FxRate
Immutable Implementation of FxRate
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.FxRate
FxRate.FxRateBuilder, FxRate.FxRateBuilderImpl, FxRate.FxRateImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanDefines the two currencies for an FX trade and the quotation relationship between the two currencies.getRate()The rate of exchange between the two currencies of the leg of a deal.inthashCode()protected voidsetBuilderFields(FxRate.FxRateBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
FxRateImpl
-
-
Method Details
-
getQuotedCurrencyPair
@RosettaAttribute(value="quotedCurrencyPair", isRequired=true) @RuneAttribute(value="quotedCurrencyPair", isRequired=true) public QuotedCurrencyPair getQuotedCurrencyPair()Description copied from interface:FxRateDefines the two currencies for an FX trade and the quotation relationship between the two currencies.- Specified by:
getQuotedCurrencyPairin interfaceFxRate
-
getRate
Description copied from interface:FxRateThe rate of exchange between the two currencies of the leg of a deal. Must be specified with a quote basis. -
build
Description copied from interface:FxRateBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-