Package cdm.base.staticdata.asset.common
Interface Commodity.CommodityBuilder
- All Superinterfaces:
AssetBase,AssetBase.AssetBaseBuilder,Commodity,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
Commodity.CommodityBuilderImpl
- Enclosing interface:
Commodity
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.AssetBase
AssetBase.AssetBaseBuilder, AssetBase.AssetBaseBuilderImpl, AssetBase.AssetBaseImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.Commodity
Commodity.CommodityBuilder, Commodity.CommodityBuilderImpl, Commodity.CommodityImpl -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddIdentifier(AssetIdentifier identifier) addIdentifier(AssetIdentifier identifier, int idx) addIdentifier(List<? extends AssetIdentifier> identifier) addRelatedExchange(LegalEntity relatedExchange) addRelatedExchange(LegalEntity relatedExchange, int idx) addRelatedExchange(List<? extends LegalEntity> relatedExchange) addTaxonomy(Taxonomy taxonomy) addTaxonomy(Taxonomy taxonomy, int idx) addTaxonomy(List<? extends Taxonomy> taxonomy) Specifies the commodity underlier in the event that no ISDA Commodity Reference Benchmark exists.Specifies the parameters for identifying the relevant contract date when the commodity reference price is a futures contract.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCommodityProductDefinition(CommodityProductDefinition commodityProductDefinition) setDeliveryDateReference(DeliveryDateParameters deliveryDateReference) setDescription(String description) setExchange(LegalEntity exchange) setIdentifier(List<? extends AssetIdentifier> identifier) setIsExchangeListed(Boolean isExchangeListed) setPriceQuoteType(QuotationSideEnum priceQuoteType) setRelatedExchange(List<? extends LegalEntity> relatedExchange) setTaxonomy(List<? extends Taxonomy> taxonomy) Methods inherited from interface cdm.base.staticdata.asset.common.AssetBase
getIsExchangeListedMethods inherited from interface cdm.base.staticdata.asset.common.AssetBase.AssetBaseBuilder
getExchange, getIdentifier, getOrCreateExchange, getOrCreateIdentifier, getOrCreateRelatedExchange, getOrCreateTaxonomy, getRelatedExchange, getTaxonomyMethods inherited from interface cdm.base.staticdata.asset.common.Commodity
build, getDescription, getPriceQuoteType, 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
-
getOrCreateCommodityProductDefinition
CommodityProductDefinition.CommodityProductDefinitionBuilder getOrCreateCommodityProductDefinition() -
getCommodityProductDefinition
CommodityProductDefinition.CommodityProductDefinitionBuilder getCommodityProductDefinition()Description copied from interface:CommoditySpecifies the commodity underlier in the event that no ISDA Commodity Reference Benchmark exists.- Specified by:
getCommodityProductDefinitionin interfaceCommodity
-
getOrCreateDeliveryDateReference
DeliveryDateParameters.DeliveryDateParametersBuilder getOrCreateDeliveryDateReference() -
getDeliveryDateReference
DeliveryDateParameters.DeliveryDateParametersBuilder getDeliveryDateReference()Description copied from interface:CommoditySpecifies the parameters for identifying the relevant contract date when the commodity reference price is a futures contract.- Specified by:
getDeliveryDateReferencein interfaceCommodity
-
addIdentifier
- Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder
-
addIdentifier
- Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder
-
addIdentifier
- Specified by:
addIdentifierin interfaceAssetBase.AssetBaseBuilder
-
setIdentifier
- Specified by:
setIdentifierin interfaceAssetBase.AssetBaseBuilder
-
addTaxonomy
- Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder
-
addTaxonomy
- Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder
-
addTaxonomy
- Specified by:
addTaxonomyin interfaceAssetBase.AssetBaseBuilder
-
setTaxonomy
- Specified by:
setTaxonomyin interfaceAssetBase.AssetBaseBuilder
-
setIsExchangeListed
- Specified by:
setIsExchangeListedin interfaceAssetBase.AssetBaseBuilder
-
setExchange
- Specified by:
setExchangein interfaceAssetBase.AssetBaseBuilder
-
addRelatedExchange
- Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder
-
addRelatedExchange
- Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder
-
addRelatedExchange
- Specified by:
addRelatedExchangein interfaceAssetBase.AssetBaseBuilder
-
setRelatedExchange
- Specified by:
setRelatedExchangein interfaceAssetBase.AssetBaseBuilder
-
setCommodityProductDefinition
Commodity.CommodityBuilder setCommodityProductDefinition(CommodityProductDefinition commodityProductDefinition) -
setPriceQuoteType
-
setDeliveryDateReference
-
setDescription
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfaceAssetBase.AssetBaseBuilder- Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
Commodity.CommodityBuilder prune()- Specified by:
prunein interfaceAssetBase.AssetBaseBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-