Class ProductBase.ProductBaseImpl

java.lang.Object
cdm.base.staticdata.asset.common.ProductBase.ProductBaseImpl
All Implemented Interfaces:
ProductBase, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
Basket.BasketImpl, ContractualProduct.ContractualProductImpl, Index.IndexImpl, Listing.ListingImpl, Loan.LoanImpl
Enclosing interface:
ProductBase

public static class ProductBase.ProductBaseImpl extends Object implements ProductBase
Immutable Implementation of ProductBase
  • Constructor Details

  • Method Details

    • getProductTaxonomy

      @RosettaAttribute("productTaxonomy") @RuneAttribute("productTaxonomy") public List<? extends ProductTaxonomy> getProductTaxonomy()
      Description copied from interface: ProductBase
      Specifies the product taxonomy, which is composed of a taxonomy value and a taxonomy source.
      Specified by:
      getProductTaxonomy in interface ProductBase
    • getProductIdentifier

      @RosettaAttribute("productIdentifier") @RuneAttribute("productIdentifier") @RuneScopedAttributeReference public List<? extends ReferenceWithMetaProductIdentifier> getProductIdentifier()
      Description copied from interface: ProductBase
      Comprises an identifier and a source. The associated metadata key denotes the ability to associate a hash value to the ProductIdentifier instantiations for the purpose of model cross-referencing, in support of functionality such as the event effect and the lineage.
      Specified by:
      getProductIdentifier in interface ProductBase
    • build

      public ProductBase build()
      Description copied from interface: ProductBase
      Build Methods
      Specified by:
      build in interface ProductBase
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public ProductBase.ProductBaseBuilder toBuilder()
      Specified by:
      toBuilder in interface ProductBase
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(ProductBase.ProductBaseBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object