Package cdm.base.math
Interface UnitType
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
UnitType.UnitTypeBuilder
- All Known Implementing Classes:
UnitType.UnitTypeBuilderImpl,UnitType.UnitTypeImpl
@RosettaDataType(value="UnitType",
builder=UnitTypeBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="UnitType",
model="cdm",
builder=UnitTypeBuilderImpl.class,
version="5.30.0")
public interface UnitType
extends com.rosetta.model.lib.RosettaModelObject
Defines the unit to be used for price, quantity, or other purposes
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of UnitTypestatic classImmutable Implementation of UnitType -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic UnitType.UnitTypeBuilderbuilder()Provides an enumerated value for a capacity unit, generally used in the context of defining quantities for commodities.Defines the currency to be used as a unit for a price, quantity, or other purpose.Provides an enumerated value for financial units, generally used in the context of defining quantities for securities.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 UnitType> 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
-
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. -
getFinancialUnit
FinancialUnitEnum getFinancialUnit()Provides an enumerated value for financial units, generally used in the context of defining quantities for securities. -
getCurrency
FieldWithMetaString getCurrency()Defines the currency to be used as a unit for a price, quantity, or other purpose. -
build
UnitType build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
UnitType.UnitTypeBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
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
-