Package cdm.observable.asset
Interface FxRate
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
FxRate.FxRateBuilder
- All Known Implementing Classes:
FxRate.FxRateBuilderImpl,FxRate.FxRateImpl
@RosettaDataType(value="FxRate",
builder=FxRateBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="FxRate",
model="cdm",
builder=FxRateBuilderImpl.class,
version="5.30.0")
public interface FxRate
extends com.rosetta.model.lib.RosettaModelObject
A class describing the rate of a currency conversion: pair of currency, quotation mode and exchange rate.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of FxRatestatic classImmutable Implementation of FxRate -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic FxRate.FxRateBuilderbuilder()Defines 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.getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends FxRate> 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
-
getQuotedCurrencyPair
QuotedCurrencyPair getQuotedCurrencyPair()Defines the two currencies for an FX trade and the quotation relationship between the two currencies. -
getRate
BigDecimal getRate()The rate of exchange between the two currencies of the leg of a deal. Must be specified with a quote basis. -
build
FxRate build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
FxRate.FxRateBuilder 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
-