Package cdm.observable.asset
Class QuotedCurrencyPair.QuotedCurrencyPairImpl
java.lang.Object
cdm.observable.asset.QuotedCurrencyPair.QuotedCurrencyPairImpl
- All Implemented Interfaces:
QuotedCurrencyPair,com.rosetta.model.lib.RosettaModelObject
- Direct Known Subclasses:
CrossRate.CrossRateImpl
- Enclosing interface:
QuotedCurrencyPair
public static class QuotedCurrencyPair.QuotedCurrencyPairImpl
extends Object
implements QuotedCurrencyPair
Immutable Implementation of QuotedCurrencyPair
-
Nested Class Summary
Nested 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
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe first currency specified when a pair of currencies is to be evaluated.The second currency specified when a pair of currencies is to be evaluated.The method by which the exchange rate is quoted.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.QuotedCurrencyPair
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
QuotedCurrencyPairImpl
-
-
Method Details
-
getCurrency1
@RosettaAttribute(value="currency1", isRequired=true) @RuneAttribute(value="currency1", isRequired=true) public FieldWithMetaString getCurrency1()Description copied from interface:QuotedCurrencyPairThe first currency specified when a pair of currencies is to be evaluated.- Specified by:
getCurrency1in interfaceQuotedCurrencyPair
-
getCurrency2
@RosettaAttribute(value="currency2", isRequired=true) @RuneAttribute(value="currency2", isRequired=true) public FieldWithMetaString getCurrency2()Description copied from interface:QuotedCurrencyPairThe second currency specified when a pair of currencies is to be evaluated.- Specified by:
getCurrency2in interfaceQuotedCurrencyPair
-
getQuoteBasis
@RosettaAttribute(value="quoteBasis", isRequired=true) @RuneAttribute(value="quoteBasis", isRequired=true) public QuoteBasisEnum getQuoteBasis()Description copied from interface:QuotedCurrencyPairThe method by which the exchange rate is quoted.- Specified by:
getQuoteBasisin interfaceQuotedCurrencyPair
-
build
Description copied from interface:QuotedCurrencyPairBuild Methods- Specified by:
buildin interfaceQuotedCurrencyPair- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceQuotedCurrencyPair- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-