Package cdm.product.template
Interface Basket
- All Superinterfaces:
ProductBase,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
Basket.BasketBuilder
- All Known Implementing Classes:
Basket.BasketBuilderImpl,Basket.BasketImpl
@RosettaDataType(value="Basket",
builder=BasketBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="Basket",
model="cdm",
builder=BasketBuilderImpl.class,
version="5.30.0")
public interface Basket
extends ProductBase
Defines a custom basket by referencing a product identifier and its consituents.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of Basketstatic classImmutable Implementation of BasketNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.ProductBase
ProductBase.ProductBaseBuilder, ProductBase.ProductBaseBuilderImpl, ProductBase.ProductBaseImpl -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic Basket.BasketBuilderbuilder()Identifies the constituents of the basketList<? extends BasketConstituent> Identifies the constituents of the basketgetType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends Basket> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface cdm.base.staticdata.asset.common.ProductBase
getProductIdentifier, getProductTaxonomyMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getBasketConstituent
Identifies the constituents of the basket -
getPortfolioBasketConstituent
List<? extends BasketConstituent> getPortfolioBasketConstituent()Identifies the constituents of the basket -
build
Basket build()Build Methods- Specified by:
buildin interfaceProductBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
Basket.BasketBuilder toBuilder()- Specified by:
toBuilderin interfaceProductBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfaceProductBase- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfaceProductBase- 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 interfaceProductBase- Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-