Package cdm.observable.asset
Class FxRate.FxRateBuilderImpl
java.lang.Object
cdm.observable.asset.FxRate.FxRateBuilderImpl
- All Implemented Interfaces:
FxRate,FxRate.FxRateBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
FxRate
Builder Implementation of FxRate
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.FxRate
FxRate.FxRateBuilder, FxRate.FxRateBuilderImpl, FxRate.FxRateImpl -
Field Summary
Fields -
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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setQuotedCurrencyPair(QuotedCurrencyPair _quotedCurrencyPair) setRate(BigDecimal _rate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.FxRate.FxRateBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
quotedCurrencyPair
-
rate
-
-
Constructor Details
-
FxRateBuilderImpl
public FxRateBuilderImpl()
-
-
Method Details
-
getQuotedCurrencyPair
@RosettaAttribute(value="quotedCurrencyPair", isRequired=true) @RuneAttribute(value="quotedCurrencyPair", isRequired=true) public QuotedCurrencyPair.QuotedCurrencyPairBuilder 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- Specified by:
getQuotedCurrencyPairin interfaceFxRate.FxRateBuilder
-
getOrCreateQuotedCurrencyPair
- Specified by:
getOrCreateQuotedCurrencyPairin interfaceFxRate.FxRateBuilder
-
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. -
setQuotedCurrencyPair
@RosettaAttribute(value="quotedCurrencyPair", isRequired=true) @RuneAttribute(value="quotedCurrencyPair", isRequired=true) public FxRate.FxRateBuilder setQuotedCurrencyPair(QuotedCurrencyPair _quotedCurrencyPair) - Specified by:
setQuotedCurrencyPairin interfaceFxRate.FxRateBuilder
-
setRate
@RosettaAttribute("rate") @RuneAttribute("rate") public FxRate.FxRateBuilder setRate(BigDecimal _rate) - Specified by:
setRatein interfaceFxRate.FxRateBuilder
-
build
Description copied from interface:FxRateBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceFxRate.FxRateBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public FxRate.FxRateBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-