Package org.isda.cdm
Class ProductIdentifier
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.ProductIdentifier
-
- All Implemented Interfaces:
com.rosetta.model.lib.GlobalKey
- Direct Known Subclasses:
MortgageBackedSecurity
@RosettaClass public class ProductIdentifier extends com.rosetta.model.lib.RosettaModelObject implements com.rosetta.model.lib.GlobalKey
The product identifier, composed of an identifier, a source and a product taxonomy. The source is optional because it can be specified through the scheme that is associated with the identifier. As FpML doesn't specify a scheme as part of the standard, that scheme cannot be mapped to the CDM ProductIdSourceEnum. The associated rosettaKey denotes the ability to associate a hash value to the ProductIdentifier instantiations for the purpose of model cross-referencing, in support of functionality such as the event effect and the lineage.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProductIdentifier.ProductIdentifierBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProductIdentifier.ProductIdentifierBuilder
builder()
boolean
equals(java.lang.Object o)
java.util.List<FieldWithMetaString>
getIdentifier()
A unique identifier of an asset provided by a public source that is specified in the source attribute.MetaFields
getMeta()
java.util.List<ProductTaxonomy>
getProductTaxonomy()
The product taxonomy value(s) associated with a product.ProductIdSourceEnum
getSource()
The identifier source.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ProductIdentifier>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ProductIdentifier.ProductIdentifierBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getIdentifier
@RosettaSynonym(value="instrumentId",source="FpML_5_10") @RosettaSynonym(value="instrumentId",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="instrumentId",source="Rosetta_Workbench") @RosettaSynonym(value="instrumentId",source="DTCC_11_0") @RosettaSynonym(value="instrumentId",source="DTCC_9_0") @RosettaSynonym(value="instrumentId",source="Rosetta_Workbench") public final java.util.List<FieldWithMetaString> getIdentifier()
A unique identifier of an asset provided by a public source that is specified in the source attribute.
-
getMeta
public final MetaFields getMeta()
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKey
-
getProductTaxonomy
public final java.util.List<ProductTaxonomy> getProductTaxonomy()
The product taxonomy value(s) associated with a product.
-
getSource
public final ProductIdSourceEnum getSource()
The identifier source.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends ProductIdentifier> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ProductIdentifier.ProductIdentifierBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ProductIdentifier.ProductIdentifierBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-