Package cdm.product.template
Class Product.ProductBuilderImpl
java.lang.Object
cdm.product.template.Product.ProductBuilderImpl
- All Implemented Interfaces:
Product,Product.ProductBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Product
Builder Implementation of Product
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.Product
Product.ProductBuilder, Product.ProductBuilderImpl, Product.ProductImpl -
Field Summary
FieldsModifier and TypeFieldDescription -
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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setNonTransferableProduct(NonTransferableProduct _nonTransferableProduct) setTransferableProduct(TransferableProduct _transferableProduct) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.template.Product.ProductBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
transferableProduct
-
nonTransferableProduct
-
-
Constructor Details
-
ProductBuilderImpl
public ProductBuilderImpl()
-
-
Method Details
-
getTransferableProduct
@RosettaAttribute("TransferableProduct") @Accessor(GETTER) @RuneAttribute("TransferableProduct") public 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- Specified by:
getTransferableProductin interfaceProduct.ProductBuilder
-
getOrCreateTransferableProduct
- Specified by:
getOrCreateTransferableProductin interfaceProduct.ProductBuilder
-
getNonTransferableProduct
@RosettaAttribute("NonTransferableProduct") @Accessor(GETTER) @RuneAttribute("NonTransferableProduct") public 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- Specified by:
getNonTransferableProductin interfaceProduct.ProductBuilder
-
getOrCreateNonTransferableProduct
- Specified by:
getOrCreateNonTransferableProductin interfaceProduct.ProductBuilder
-
setTransferableProduct
@RosettaAttribute("TransferableProduct") @Accessor(SETTER) @RuneAttribute("TransferableProduct") public Product.ProductBuilder setTransferableProduct(TransferableProduct _transferableProduct) - Specified by:
setTransferableProductin interfaceProduct.ProductBuilder
-
setNonTransferableProduct
@RosettaAttribute("NonTransferableProduct") @Accessor(SETTER) @RuneAttribute("NonTransferableProduct") public Product.ProductBuilder setNonTransferableProduct(NonTransferableProduct _nonTransferableProduct) - Specified by:
setNonTransferableProductin interfaceProduct.ProductBuilder
-
build
Description copied from interface:ProductBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceProduct.ProductBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Product.ProductBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-