Package cdm.product.template
Class Product.ProductImpl
java.lang.Object
cdm.product.template.Product.ProductImpl
- All Implemented Interfaces:
Product,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
Product
Immutable Implementation of Product
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.Product
Product.ProductBuilder, Product.ProductBuilderImpl, Product.ProductImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe non-transferable product data type represents a product that can be traded (as part of a TradableProduct) but cannot be transferred to others.A TransferableProduct is a type of financial product which can be held or transferred, represented as an Asset with the addition of specific EconomicTerms.inthashCode()protected voidsetBuilderFields(Product.ProductBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ProductImpl
-
-
Method Details
-
getTransferableProduct
@RosettaAttribute("TransferableProduct") @Accessor(GETTER) @RuneAttribute("TransferableProduct") public TransferableProduct getTransferableProduct()Description copied from interface:ProductA 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:
getTransferableProductin interfaceProduct
-
getNonTransferableProduct
@RosettaAttribute("NonTransferableProduct") @Accessor(GETTER) @RuneAttribute("NonTransferableProduct") public NonTransferableProduct getNonTransferableProduct()Description copied from interface:ProductThe 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:
getNonTransferableProductin interfaceProduct
-
build
Description copied from interface:ProductBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-