Package cdm.observable.asset
Class Index.IndexBuilderImpl
java.lang.Object
cdm.observable.asset.Index.IndexBuilderImpl
- All Implemented Interfaces:
Index,Index.IndexBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Index
Builder Implementation of Index
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.Index
Index.IndexBuilder, Index.IndexBuilderImpl, Index.IndexImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CreditIndex.CreditIndexBuilderprotected EquityIndex.EquityIndexBuilderprotected OtherIndex.OtherIndexBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanAn index based on credit risk, typically composed using corporate debt instruments in a region or industry sector, e.g. the iTraxx indices.An index based on equity securities, e.g. the S&P 500.A rate based on the exchange of a pair of cash assets in specific currencies, e.g.An index based in interest rates or inflation rates in a certain market.An index created by a market participant which doesn't align with the other index types.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCreditIndex(CreditIndex _creditIndex) setEquityIndex(EquityIndex _equityIndex) setForeignExchangeRateIndex(ForeignExchangeRateIndex _foreignExchangeRateIndex) setInterestRateIndex(FieldWithMetaInterestRateIndex _interestRateIndex) setInterestRateIndexValue(InterestRateIndex _interestRateIndex) setOtherIndex(OtherIndex _otherIndex) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.Index.IndexBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
creditIndex
-
equityIndex
-
interestRateIndex
-
foreignExchangeRateIndex
-
otherIndex
-
-
Constructor Details
-
IndexBuilderImpl
public IndexBuilderImpl()
-
-
Method Details
-
getCreditIndex
@RosettaAttribute("CreditIndex") @Accessor(GETTER) @RuneAttribute("CreditIndex") public CreditIndex.CreditIndexBuilder getCreditIndex()Description copied from interface:IndexAn index based on credit risk, typically composed using corporate debt instruments in a region or industry sector, e.g. the iTraxx indices.- Specified by:
getCreditIndexin interfaceIndex- Specified by:
getCreditIndexin interfaceIndex.IndexBuilder
-
getOrCreateCreditIndex
- Specified by:
getOrCreateCreditIndexin interfaceIndex.IndexBuilder
-
getEquityIndex
@RosettaAttribute("EquityIndex") @Accessor(GETTER) @RuneAttribute("EquityIndex") public EquityIndex.EquityIndexBuilder getEquityIndex()Description copied from interface:IndexAn index based on equity securities, e.g. the S&P 500.- Specified by:
getEquityIndexin interfaceIndex- Specified by:
getEquityIndexin interfaceIndex.IndexBuilder
-
getOrCreateEquityIndex
- Specified by:
getOrCreateEquityIndexin interfaceIndex.IndexBuilder
-
getInterestRateIndex
@RosettaAttribute("InterestRateIndex") @Accessor(GETTER) @RuneAttribute("InterestRateIndex") @RuneScopedAttributeKey public FieldWithMetaInterestRateIndex.FieldWithMetaInterestRateIndexBuilder getInterestRateIndex()Description copied from interface:IndexAn index based in interest rates or inflation rates in a certain market.- Specified by:
getInterestRateIndexin interfaceIndex- Specified by:
getInterestRateIndexin interfaceIndex.IndexBuilder
-
getOrCreateInterestRateIndex
public FieldWithMetaInterestRateIndex.FieldWithMetaInterestRateIndexBuilder getOrCreateInterestRateIndex()- Specified by:
getOrCreateInterestRateIndexin interfaceIndex.IndexBuilder
-
getForeignExchangeRateIndex
@RosettaAttribute("ForeignExchangeRateIndex") @Accessor(GETTER) @RuneAttribute("ForeignExchangeRateIndex") public ForeignExchangeRateIndex.ForeignExchangeRateIndexBuilder getForeignExchangeRateIndex()Description copied from interface:IndexA rate based on the exchange of a pair of cash assets in specific currencies, e.g. USD versus GBP.- Specified by:
getForeignExchangeRateIndexin interfaceIndex- Specified by:
getForeignExchangeRateIndexin interfaceIndex.IndexBuilder
-
getOrCreateForeignExchangeRateIndex
public ForeignExchangeRateIndex.ForeignExchangeRateIndexBuilder getOrCreateForeignExchangeRateIndex()- Specified by:
getOrCreateForeignExchangeRateIndexin interfaceIndex.IndexBuilder
-
getOtherIndex
@RosettaAttribute("OtherIndex") @Accessor(GETTER) @RuneAttribute("OtherIndex") public OtherIndex.OtherIndexBuilder getOtherIndex()Description copied from interface:IndexAn index created by a market participant which doesn't align with the other index types.- Specified by:
getOtherIndexin interfaceIndex- Specified by:
getOtherIndexin interfaceIndex.IndexBuilder
-
getOrCreateOtherIndex
- Specified by:
getOrCreateOtherIndexin interfaceIndex.IndexBuilder
-
setCreditIndex
@RosettaAttribute("CreditIndex") @Accessor(SETTER) @RuneAttribute("CreditIndex") public Index.IndexBuilder setCreditIndex(CreditIndex _creditIndex) - Specified by:
setCreditIndexin interfaceIndex.IndexBuilder
-
setEquityIndex
@RosettaAttribute("EquityIndex") @Accessor(SETTER) @RuneAttribute("EquityIndex") public Index.IndexBuilder setEquityIndex(EquityIndex _equityIndex) - Specified by:
setEquityIndexin interfaceIndex.IndexBuilder
-
setInterestRateIndex
@RosettaAttribute("InterestRateIndex") @Accessor(SETTER) @RuneAttribute("InterestRateIndex") @RuneScopedAttributeKey public Index.IndexBuilder setInterestRateIndex(FieldWithMetaInterestRateIndex _interestRateIndex) - Specified by:
setInterestRateIndexin interfaceIndex.IndexBuilder
-
setInterestRateIndexValue
- Specified by:
setInterestRateIndexValuein interfaceIndex.IndexBuilder
-
setForeignExchangeRateIndex
@RosettaAttribute("ForeignExchangeRateIndex") @Accessor(SETTER) @RuneAttribute("ForeignExchangeRateIndex") public Index.IndexBuilder setForeignExchangeRateIndex(ForeignExchangeRateIndex _foreignExchangeRateIndex) - Specified by:
setForeignExchangeRateIndexin interfaceIndex.IndexBuilder
-
setOtherIndex
@RosettaAttribute("OtherIndex") @Accessor(SETTER) @RuneAttribute("OtherIndex") public Index.IndexBuilder setOtherIndex(OtherIndex _otherIndex) - Specified by:
setOtherIndexin interfaceIndex.IndexBuilder
-
build
Description copied from interface:IndexBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceIndex.IndexBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Index.IndexBuilder 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
-