Package cdm.base.staticdata.asset.common
Interface CommodityReferenceFramework.CommodityReferenceFrameworkBuilder
- All Superinterfaces:
CommodityReferenceFramework,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
CommodityReferenceFramework.CommodityReferenceFrameworkBuilderImpl
- Enclosing interface:
CommodityReferenceFramework
public static interface CommodityReferenceFramework.CommodityReferenceFrameworkBuilder
extends CommodityReferenceFramework, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.staticdata.asset.common.CommodityReferenceFramework
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder, CommodityReferenceFramework.CommodityReferenceFrameworkBuilderImpl, CommodityReferenceFramework.CommodityReferenceFrameworkImpl -
Field Summary
Fields inherited from interface cdm.base.staticdata.asset.common.CommodityReferenceFramework
metaData -
Method Summary
Modifier and TypeMethodDescriptionDefines the currency in which the commodity is priced.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCapacityUnit(CapacityUnitEnum capacityUnit) setCommodityName(String commodityName) setCurrency(FieldWithMetaString currency) setCurrencyValue(String currency) setWeatherUnit(WeatherUnitEnum weatherUnit) Methods inherited from interface cdm.base.staticdata.asset.common.CommodityReferenceFramework
build, getCapacityUnit, getCommodityName, getType, getWeatherUnit, 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
-
getOrCreateCurrency
FieldWithMetaString.FieldWithMetaStringBuilder getOrCreateCurrency() -
getCurrency
FieldWithMetaString.FieldWithMetaStringBuilder getCurrency()Description copied from interface:CommodityReferenceFrameworkDefines the currency in which the commodity is priced.- Specified by:
getCurrencyin interfaceCommodityReferenceFramework
-
setCommodityName
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder setCommodityName(String commodityName) -
setCapacityUnit
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder setCapacityUnit(CapacityUnitEnum capacityUnit) -
setWeatherUnit
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder setWeatherUnit(WeatherUnitEnum weatherUnit) -
setCurrency
CommodityReferenceFramework.CommodityReferenceFrameworkBuilder setCurrency(FieldWithMetaString currency) -
setCurrencyValue
-
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
-