Package cdm.product.template
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
Immutable Implementation of Product
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested 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 MethodsbooleanIdentifies an asset pool product for defining pool of assets backing an asset backed security.Identifies a custom basket by referencing a product identifier and its constituents.Identifies a commodity by referencing a product identifier.Specifies the contractual product's economic terms, product identifier, and product taxonomy.Defines a foreign exchange spot or forward transaction.getIndex()Identifies an index by referencing a product identifier.getLoan()Identifies a loan by referencing a product identifier and an optional set of attributes.com.rosetta.model.metafields.MetaFieldsgetMeta()Identifies a security by referencing a product identifier and a security type, plus an optional set of attributes.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
-
getContractualProduct
@RosettaAttribute("contractualProduct") @RuneAttribute("contractualProduct") public ContractualProduct getContractualProduct()Description copied from interface:ProductSpecifies the contractual product's economic terms, product identifier, and product taxonomy.- Specified by:
getContractualProductin interfaceProduct
-
getIndex
Description copied from interface:ProductIdentifies an index by referencing a product identifier. -
getLoan
Description copied from interface:ProductIdentifies a loan by referencing a product identifier and an optional set of attributes. -
getAssetPool
Description copied from interface:ProductIdentifies an asset pool product for defining pool of assets backing an asset backed security.- Specified by:
getAssetPoolin interfaceProduct
-
getForeignExchange
@RosettaAttribute("foreignExchange") @RuneAttribute("foreignExchange") public ForeignExchange getForeignExchange()Description copied from interface:ProductDefines a foreign exchange spot or forward transaction.- Specified by:
getForeignExchangein interfaceProduct
-
getCommodity
@RosettaAttribute("commodity") @RuneAttribute("commodity") @RuneScopedAttributeReference public ReferenceWithMetaCommodity getCommodity()Description copied from interface:ProductIdentifies a commodity by referencing a product identifier.- Specified by:
getCommodityin interfaceProduct
-
getSecurity
Description copied from interface:ProductIdentifies a security by referencing a product identifier and a security type, plus an optional set of attributes.- Specified by:
getSecurityin interfaceProduct
-
getBasket
Description copied from interface:ProductIdentifies a custom basket by referencing a product identifier and its constituents. -
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta() -
build
Description copied from interface:ProductBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-