Package cdm.observable.asset
Class CrossRate.CrossRateImpl
java.lang.Object
cdm.observable.asset.QuotedCurrencyPair.QuotedCurrencyPairImpl
cdm.observable.asset.CrossRate.CrossRateImpl
- All Implemented Interfaces:
CrossRate,QuotedCurrencyPair,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CrossRate
public static class CrossRate.CrossRateImpl
extends QuotedCurrencyPair.QuotedCurrencyPairImpl
implements CrossRate
Immutable Implementation of CrossRate
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.CrossRate
CrossRate.CrossRateBuilder, CrossRate.CrossRateBuilderImpl, CrossRate.CrossRateImplNested classes/interfaces inherited from interface cdm.observable.asset.QuotedCurrencyPair
QuotedCurrencyPair.QuotedCurrencyPairBuilder, QuotedCurrencyPair.QuotedCurrencyPairBuilderImpl, QuotedCurrencyPair.QuotedCurrencyPairImpl -
Field Summary
Fields inherited from interface cdm.observable.asset.QuotedCurrencyPair
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanAn optional element used for deals consummated in the FX Forwards market.getRate()The exchange rate used to cross between the traded currencies.An optional element used for FX forwards and certain types of FX OTC options.inthashCode()protected voidtoString()Methods inherited from class cdm.observable.asset.QuotedCurrencyPair.QuotedCurrencyPairImpl
getCurrency1, getCurrency2, getQuoteBasis, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.QuotedCurrencyPair
getCurrency1, getCurrency2, getQuoteBasisMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CrossRateImpl
-
-
Method Details
-
getRate
@RosettaAttribute(value="rate", isRequired=true) @RuneAttribute(value="rate", isRequired=true) public BigDecimal getRate()Description copied from interface:CrossRateThe exchange rate used to cross between the traded currencies. -
getSpotRate
Description copied from interface:CrossRateAn optional element used for FX forwards and certain types of FX OTC options. For deals consummated in the FX Forwards Market, this represents the current market rate for a particular currency pair.- Specified by:
getSpotRatein interfaceCrossRate
-
getForwardPoints
@RosettaAttribute("forwardPoints") @RuneAttribute("forwardPoints") public BigDecimal getForwardPoints()Description copied from interface:CrossRateAn optional element used for deals consummated in the FX Forwards market. Forward points represent the interest rate differential between the two currencies traded and are quoted as a premium or a discount. Forward points are added to, or subtracted from, the spot rate to create the rate of the forward trade.- Specified by:
getForwardPointsin interfaceCrossRate
-
build
Description copied from interface:QuotedCurrencyPairBuild Methods- Specified by:
buildin interfaceCrossRate- Specified by:
buildin interfaceQuotedCurrencyPair- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classQuotedCurrencyPair.QuotedCurrencyPairImpl
-
toBuilder
- Specified by:
toBuilderin interfaceCrossRate- Specified by:
toBuilderin interfaceQuotedCurrencyPair- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classQuotedCurrencyPair.QuotedCurrencyPairImpl
-
setBuilderFields
-
equals
- Overrides:
equalsin classQuotedCurrencyPair.QuotedCurrencyPairImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classQuotedCurrencyPair.QuotedCurrencyPairImpl
-
toString
- Overrides:
toStringin classQuotedCurrencyPair.QuotedCurrencyPairImpl
-