Package cdm.base.staticdata.asset.common
Interface Commodity
- All Superinterfaces:
AssetBase,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="6.19.0")
@RuneDataType(value="Commodity",
model="cdm",
builder=CommodityBuilderImpl.class,
version="6.19.0")
public interface Commodity
extends AssetBase
Identifies a specific commodity by referencing a product identifier or by a product definition.
- Version:
- 6.19.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.AssetBase
AssetBase.AssetBaseBuilder, AssetBase.AssetBaseBuilderImpl, AssetBase.AssetBaseImpl -
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.AssetBase
getExchange, getIdentifier, getIsExchangeListed, getRelatedExchange, getTaxonomyMethods 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 -
toBuilder
Commodity.CommodityBuilder toBuilder() -
builder
-
metaData
Utility Methods -
getType
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
-