Package cdm.base.staticdata.asset.common
Interface CommodityReferenceFramework
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder
- All Known Implementing Classes:
CommodityReferenceFramework.CommodityReferenceFrameworkBuilderImpl,CommodityReferenceFramework.CommodityReferenceFrameworkImpl
@RosettaDataType(value="CommodityReferenceFramework",
builder=CommodityReferenceFrameworkBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="CommodityReferenceFramework",
model="cdm",
builder=CommodityReferenceFrameworkBuilderImpl.class,
version="5.30.0")
public interface CommodityReferenceFramework
extends com.rosetta.model.lib.RosettaModelObject
Specifies the type of commodity.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of CommodityReferenceFrameworkstatic classImmutable Implementation of CommodityReferenceFramework -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()Provides an enumerated value for a capacity unit, generally used in the context of defining quantities for commodities.Identifies the commodity more specifically.Defines the currency in which the commodity is priced.default Class<? extends CommodityReferenceFramework> getType()Provides an enumerated values for a weather unit, generally used in the context of defining quantities for commodities.default com.rosetta.model.lib.meta.RosettaMetaData<? extends CommodityReferenceFramework> 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
-
getCommodityName
String getCommodityName()Identifies the commodity more specifically. Where possible, this should follow the naming convention used in the 2005 ISDA Commodity Definitions SubAnnex A, including the subCommodity and additional qualifiers, but should be limited to 256 characters or less. -
getCapacityUnit
CapacityUnitEnum getCapacityUnit()Provides an enumerated value for a capacity unit, generally used in the context of defining quantities for commodities. -
getWeatherUnit
WeatherUnitEnum getWeatherUnit()Provides an enumerated values for a weather unit, generally used in the context of defining quantities for commodities. -
getCurrency
FieldWithMetaString getCurrency()Defines the currency in which the commodity is priced. -
build
CommodityReferenceFramework build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
default com.rosetta.model.lib.meta.RosettaMetaData<? extends CommodityReferenceFramework> 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
-