Package cdm.base.staticdata.asset.common
Interface CommodityProductDefinition
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
CommodityProductDefinition.CommodityProductDefinitionBuilder
- All Known Implementing Classes:
CommodityProductDefinition.CommodityProductDefinitionBuilderImpl,CommodityProductDefinition.CommodityProductDefinitionImpl
@RosettaDataType(value="CommodityProductDefinition",
builder=CommodityProductDefinitionBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="CommodityProductDefinition",
model="cdm",
builder=CommodityProductDefinitionBuilderImpl.class,
version="5.30.0")
public interface CommodityProductDefinition
extends com.rosetta.model.lib.RosettaModelObject
Specifies the commodity underlier in the event that no ISDA Commodity Reference Price exists.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of CommodityProductDefinitionstatic classImmutable Implementation of CommodityProductDefinition -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()Specifies the publication where the commodity prices can be found.Identifies the exchange from which the reference price should be sourced, using the scheme at the following url: http://www.fpml.org/coding-scheme/external/exchange-id-MIC-1-0Specifies a publication that provides the commodity price, including, where applicable the details of where in the publication the price is published.Specifies the type of commodity.default Class<? extends CommodityProductDefinition> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends CommodityProductDefinition> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getReferenceFramework
CommodityReferenceFramework getReferenceFramework()Specifies the type of commodity. -
getPriceSource
PriceSource getPriceSource()Specifies a publication that provides the commodity price, including, where applicable the details of where in the publication the price is published. Applicable when the commodity reference price is not a futures contract -
getCommodityInfoPublisher
CommodityInformationPublisherEnum getCommodityInfoPublisher()Specifies the publication where the commodity prices can be found. -
getExchangeId
FieldWithMetaString getExchangeId()Identifies the exchange from which the reference price should be sourced, using the scheme at the following url: http://www.fpml.org/coding-scheme/external/exchange-id-MIC-1-0 -
build
CommodityProductDefinition build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-