Class Product.ProductImpl

java.lang.Object
cdm.product.template.Product.ProductImpl
All Implemented Interfaces:
Product, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
BasketConstituent.BasketConstituentImpl
Enclosing interface:
Product

public static class Product.ProductImpl extends Object implements Product
Immutable Implementation of Product
  • Constructor Details

  • Method Details

    • getContractualProduct

      @RosettaAttribute("contractualProduct") @RuneAttribute("contractualProduct") public ContractualProduct getContractualProduct()
      Description copied from interface: Product
      Specifies the contractual product's economic terms, product identifier, and product taxonomy.
      Specified by:
      getContractualProduct in interface Product
    • getIndex

      @RosettaAttribute("index") @RuneAttribute("index") public Index getIndex()
      Description copied from interface: Product
      Identifies an index by referencing a product identifier.
      Specified by:
      getIndex in interface Product
    • getLoan

      @RosettaAttribute("loan") @RuneAttribute("loan") public Loan getLoan()
      Description copied from interface: Product
      Identifies a loan by referencing a product identifier and an optional set of attributes.
      Specified by:
      getLoan in interface Product
    • getAssetPool

      @RosettaAttribute("assetPool") @RuneAttribute("assetPool") public AssetPool getAssetPool()
      Description copied from interface: Product
      Identifies an asset pool product for defining pool of assets backing an asset backed security.
      Specified by:
      getAssetPool in interface Product
    • getForeignExchange

      @RosettaAttribute("foreignExchange") @RuneAttribute("foreignExchange") public ForeignExchange getForeignExchange()
      Description copied from interface: Product
      Defines a foreign exchange spot or forward transaction.
      Specified by:
      getForeignExchange in interface Product
    • getCommodity

      @RosettaAttribute("commodity") @RuneAttribute("commodity") @RuneScopedAttributeReference public ReferenceWithMetaCommodity getCommodity()
      Description copied from interface: Product
      Identifies a commodity by referencing a product identifier.
      Specified by:
      getCommodity in interface Product
    • getSecurity

      @RosettaAttribute("security") @RuneAttribute("security") public Security getSecurity()
      Description copied from interface: Product
      Identifies a security by referencing a product identifier and a security type, plus an optional set of attributes.
      Specified by:
      getSecurity in interface Product
    • getBasket

      @RosettaAttribute("basket") @RuneAttribute("basket") public Basket getBasket()
      Description copied from interface: Product
      Identifies a custom basket by referencing a product identifier and its constituents.
      Specified by:
      getBasket in interface Product
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface Product
    • build

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

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

      protected void setBuilderFields(Product.ProductBuilder 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