Package cdm.base.staticdata.asset.common
Interface CommodityProductDefinition.CommodityProductDefinitionBuilder
- All Superinterfaces:
CommodityProductDefinition,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
CommodityProductDefinition.CommodityProductDefinitionBuilderImpl
- Enclosing interface:
CommodityProductDefinition
public static interface CommodityProductDefinition.CommodityProductDefinitionBuilder
extends CommodityProductDefinition, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.CommodityProductDefinition
CommodityProductDefinition.CommodityProductDefinitionBuilder, CommodityProductDefinition.CommodityProductDefinitionBuilderImpl, CommodityProductDefinition.CommodityProductDefinitionImpl -
Field Summary
Fields inherited from interface cdm.base.staticdata.asset.common.CommodityProductDefinition
metaData -
Method Summary
Modifier and TypeMethodDescriptionIdentifies 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 voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCommodityInfoPublisher(CommodityInformationPublisherEnum commodityInfoPublisher) setExchangeId(FieldWithMetaString exchangeId) setExchangeIdValue(String exchangeId) setPriceSource(PriceSource priceSource) setReferenceFramework(CommodityReferenceFramework referenceFramework) Methods inherited from interface cdm.base.staticdata.asset.common.CommodityProductDefinition
build, getCommodityInfoPublisher, 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
-
getOrCreateReferenceFramework
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder getOrCreateReferenceFramework() -
getReferenceFramework
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder getReferenceFramework()Description copied from interface:CommodityProductDefinitionSpecifies the type of commodity.- Specified by:
getReferenceFrameworkin interfaceCommodityProductDefinition
-
getOrCreatePriceSource
PriceSource.PriceSourceBuilder getOrCreatePriceSource() -
getPriceSource
PriceSource.PriceSourceBuilder getPriceSource()Description copied from interface:CommodityProductDefinitionSpecifies 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- Specified by:
getPriceSourcein interfaceCommodityProductDefinition
-
getOrCreateExchangeId
FieldWithMetaString.FieldWithMetaStringBuilder getOrCreateExchangeId() -
getExchangeId
FieldWithMetaString.FieldWithMetaStringBuilder getExchangeId()Description copied from interface:CommodityProductDefinitionIdentifies 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- Specified by:
getExchangeIdin interfaceCommodityProductDefinition
-
setReferenceFramework
CommodityProductDefinition.CommodityProductDefinitionBuilder setReferenceFramework(CommodityReferenceFramework referenceFramework) -
setPriceSource
CommodityProductDefinition.CommodityProductDefinitionBuilder setPriceSource(PriceSource priceSource) -
setCommodityInfoPublisher
CommodityProductDefinition.CommodityProductDefinitionBuilder setCommodityInfoPublisher(CommodityInformationPublisherEnum commodityInfoPublisher) -
setExchangeId
CommodityProductDefinition.CommodityProductDefinitionBuilder setExchangeId(FieldWithMetaString exchangeId) -
setExchangeIdValue
-
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
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-