Package cdm.base.math
Interface UnitType.UnitTypeBuilder
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,UnitType
- All Known Implementing Classes:
UnitType.UnitTypeBuilderImpl
- Enclosing interface:
UnitType
public static interface UnitType.UnitTypeBuilder
extends UnitType, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.math.UnitType
UnitType.UnitTypeBuilder, UnitType.UnitTypeBuilderImpl, UnitType.UnitTypeImpl -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionDefines the currency to be used as a unit for a price, quantity, or other purpose.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCapacityUnit(CapacityUnitEnum capacityUnit) setCurrency(FieldWithMetaString currency) setCurrencyValue(String currency) setFinancialUnit(FinancialUnitEnum financialUnit) setWeatherUnit(WeatherUnitEnum weatherUnit) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosettaMethods inherited from interface cdm.base.math.UnitType
build, getCapacityUnit, getFinancialUnit, getType, getWeatherUnit, metaData, process, toBuilder
-
Method Details
-
getOrCreateCurrency
FieldWithMetaString.FieldWithMetaStringBuilder getOrCreateCurrency() -
getCurrency
FieldWithMetaString.FieldWithMetaStringBuilder getCurrency()Description copied from interface:UnitTypeDefines the currency to be used as a unit for a price, quantity, or other purpose.- Specified by:
getCurrencyin interfaceUnitType
-
setCapacityUnit
-
setWeatherUnit
-
setFinancialUnit
-
setCurrency
-
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
UnitType.UnitTypeBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-