Package cdm.product.template
Interface Product.ProductBuilder
- All Superinterfaces:
Product,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
Product.ProductBuilderImpl
- Enclosing interface:
Product
public static interface Product.ProductBuilder
extends Product, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.Product
Product.ProductBuilder, Product.ProductBuilderImpl, Product.ProductImpl -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setNonTransferableProduct(NonTransferableProduct _NonTransferableProduct) setTransferableProduct(TransferableProduct _TransferableProduct) Methods inherited from interface cdm.product.template.Product
build, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateTransferableProduct
TransferableProduct.TransferableProductBuilder getOrCreateTransferableProduct() -
getTransferableProduct
TransferableProduct.TransferableProductBuilder 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
-
getOrCreateNonTransferableProduct
NonTransferableProduct.NonTransferableProductBuilder getOrCreateNonTransferableProduct() -
getNonTransferableProduct
NonTransferableProduct.NonTransferableProductBuilder 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
-
setTransferableProduct
-
setNonTransferableProduct
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
Product.ProductBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-