Package cdm.observable.asset
Class QuotedCurrencyPair.QuotedCurrencyPairBuilderImpl
java.lang.Object
cdm.observable.asset.QuotedCurrencyPair.QuotedCurrencyPairBuilderImpl
- All Implemented Interfaces:
QuotedCurrencyPair,QuotedCurrencyPair.QuotedCurrencyPairBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Direct Known Subclasses:
CrossRate.CrossRateBuilderImpl
- Enclosing interface:
QuotedCurrencyPair
public static class QuotedCurrencyPair.QuotedCurrencyPairBuilderImpl
extends Object
implements QuotedCurrencyPair.QuotedCurrencyPairBuilder
Builder Implementation of QuotedCurrencyPair
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.QuotedCurrencyPair
QuotedCurrencyPair.QuotedCurrencyPairBuilder, QuotedCurrencyPair.QuotedCurrencyPairBuilderImpl, QuotedCurrencyPair.QuotedCurrencyPairImpl -
Field Summary
FieldsFields inherited from interface cdm.observable.asset.QuotedCurrencyPair
metaData -
Constructor Summary
Constructors -
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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCurrency1(FieldWithMetaString _currency1) setCurrency1Value(String _currency1) setCurrency2(FieldWithMetaString _currency2) setCurrency2Value(String _currency2) setQuoteBasis(QuoteBasisEnum _quoteBasis) toString()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 cdm.observable.asset.QuotedCurrencyPair.QuotedCurrencyPairBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
currency1
-
currency2
-
quoteBasis
-
-
Constructor Details
-
QuotedCurrencyPairBuilderImpl
public QuotedCurrencyPairBuilderImpl()
-
-
Method Details
-
getCurrency1
@RosettaAttribute(value="currency1", isRequired=true) @RuneAttribute(value="currency1", isRequired=true) public FieldWithMetaString.FieldWithMetaStringBuilder getCurrency1()Description copied from interface:QuotedCurrencyPairThe first currency specified when a pair of currencies is to be evaluated.- Specified by:
getCurrency1in interfaceQuotedCurrencyPair- Specified by:
getCurrency1in interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
getOrCreateCurrency1
- Specified by:
getOrCreateCurrency1in interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
getCurrency2
@RosettaAttribute(value="currency2", isRequired=true) @RuneAttribute(value="currency2", isRequired=true) public FieldWithMetaString.FieldWithMetaStringBuilder getCurrency2()Description copied from interface:QuotedCurrencyPairThe second currency specified when a pair of currencies is to be evaluated.- Specified by:
getCurrency2in interfaceQuotedCurrencyPair- Specified by:
getCurrency2in interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
getOrCreateCurrency2
- Specified by:
getOrCreateCurrency2in interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
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
-
setCurrency1
@RosettaAttribute(value="currency1", isRequired=true) @RuneAttribute(value="currency1", isRequired=true) public QuotedCurrencyPair.QuotedCurrencyPairBuilder setCurrency1(FieldWithMetaString _currency1) - Specified by:
setCurrency1in interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
setCurrency1Value
- Specified by:
setCurrency1Valuein interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
setCurrency2
@RosettaAttribute(value="currency2", isRequired=true) @RuneAttribute(value="currency2", isRequired=true) public QuotedCurrencyPair.QuotedCurrencyPairBuilder setCurrency2(FieldWithMetaString _currency2) - Specified by:
setCurrency2in interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
setCurrency2Value
- Specified by:
setCurrency2Valuein interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
setQuoteBasis
@RosettaAttribute(value="quoteBasis", isRequired=true) @RuneAttribute(value="quoteBasis", isRequired=true) public QuotedCurrencyPair.QuotedCurrencyPairBuilder setQuoteBasis(QuoteBasisEnum _quoteBasis) - Specified by:
setQuoteBasisin interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder
-
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
-
prune
- Specified by:
prunein interfaceQuotedCurrencyPair.QuotedCurrencyPairBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public QuotedCurrencyPair.QuotedCurrencyPairBuilder 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
-