Class Product.ProductImpl

java.lang.Object
cdm.product.template.Product.ProductImpl
All Implemented Interfaces:
Product, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Product

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

  • Method Details

    • getTransferableProduct

      @RosettaAttribute("TransferableProduct") @Accessor(GETTER) @RuneAttribute("TransferableProduct") public TransferableProduct getTransferableProduct()
      Description copied from interface: Product
      A TransferableProduct is a type of financial product which can be held or transferred, represented as an Asset with the addition of specific EconomicTerms.
      Specified by:
      getTransferableProduct in interface Product
    • getNonTransferableProduct

      @RosettaAttribute("NonTransferableProduct") @Accessor(GETTER) @RuneAttribute("NonTransferableProduct") public NonTransferableProduct getNonTransferableProduct()
      Description copied from interface: Product
      The non-transferable product data type represents a product that can be traded (as part of a TradableProduct) but cannot be transferred to others.
      Specified by:
      getNonTransferableProduct 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