Package cdm.base.staticdata.asset.common
Interface Commodity
- All Superinterfaces:
Listing,ProductBase,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
Commodity.CommodityBuilder
- All Known Implementing Classes:
Commodity.CommodityBuilderImpl,Commodity.CommodityImpl
@RosettaDataType(value="Commodity",
builder=CommodityBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="Commodity",
model="cdm",
builder=CommodityBuilderImpl.class,
version="5.30.0")
public interface Commodity
extends Listing
Identifies a specific commodity by referencing a product identifier or by a product definition.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of Commoditystatic classImmutable Implementation of CommodityNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.Listing
Listing.ListingBuilder, Listing.ListingBuilderImpl, Listing.ListingImplNested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.ProductBase
ProductBase.ProductBaseBuilder, ProductBase.ProductBaseBuilderImpl, ProductBase.ProductBaseImpl -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic Commodity.CommodityBuilderbuilder()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.Provides additional information about the commodity underlier.Describes the required quote type of the underlying price that will be observed.getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends Commodity> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface cdm.base.staticdata.asset.common.Listing
getExchange, getRelatedExchangeMethods inherited from interface cdm.base.staticdata.asset.common.ProductBase
getProductIdentifier, getProductTaxonomyMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getCommodityProductDefinition
CommodityProductDefinition getCommodityProductDefinition()Specifies the commodity underlier in the event that no ISDA Commodity Reference Benchmark exists. -
getPriceQuoteType
QuotationSideEnum getPriceQuoteType()Describes the required quote type of the underlying price that will be observed. Example values include 'Bid, 'Ask', 'Settlement' (for a futures contract) and 'WeightedAverage' (for some published prices and indices). -
getDeliveryDateReference
DeliveryDateParameters getDeliveryDateReference()Specifies the parameters for identifying the relevant contract date when the commodity reference price is a futures contract. -
getDescription
String getDescription()Provides additional information about the commodity underlier. -
build
Commodity build()Build Methods- Specified by:
buildin interfaceListing- Specified by:
buildin interfaceProductBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
Commodity.CommodityBuilder toBuilder()- Specified by:
toBuilderin interfaceListing- Specified by:
toBuilderin interfaceProductBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfaceListing- Specified by:
metaDatain interfaceProductBase- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfaceListing- Specified by:
getTypein interfaceProductBase- 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 interfaceListing- Specified by:
processin interfaceProductBase- Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-