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
  • Field Details

  • Method Details

    • getBasketConstituent

      List<? extends Product> 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:
      build in interface ProductBase
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface ProductBase
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

      static Basket.BasketBuilder builder()
    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends Basket> metaData()
      Utility Methods
      Specified by:
      metaData in interface ProductBase
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends Basket> getType()
      Specified by:
      getType in interface ProductBase
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface ProductBase
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject