Package cdm.base.math
Class UnitType.UnitTypeImpl
java.lang.Object
cdm.base.math.UnitType.UnitTypeImpl
- All Implemented Interfaces:
UnitType,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
UnitType
Immutable Implementation of UnitType
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.math.UnitType
UnitType.UnitTypeBuilder, UnitType.UnitTypeBuilderImpl, UnitType.UnitTypeImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanProvides 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.Provides an enumerated values for a weather unit, generally used in the context of defining quantities for commodities.inthashCode()protected voidsetBuilderFields(UnitType.UnitTypeBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
UnitTypeImpl
-
-
Method Details
-
getCapacityUnit
@RosettaAttribute("capacityUnit") @RuneAttribute("capacityUnit") public CapacityUnitEnum getCapacityUnit()Description copied from interface:UnitTypeProvides an enumerated value for a capacity unit, generally used in the context of defining quantities for commodities.- Specified by:
getCapacityUnitin interfaceUnitType
-
getWeatherUnit
@RosettaAttribute("weatherUnit") @RuneAttribute("weatherUnit") public WeatherUnitEnum getWeatherUnit()Description copied from interface:UnitTypeProvides an enumerated values for a weather unit, generally used in the context of defining quantities for commodities.- Specified by:
getWeatherUnitin interfaceUnitType
-
getFinancialUnit
@RosettaAttribute("financialUnit") @RuneAttribute("financialUnit") public FinancialUnitEnum getFinancialUnit()Description copied from interface:UnitTypeProvides an enumerated value for financial units, generally used in the context of defining quantities for securities.- Specified by:
getFinancialUnitin interfaceUnitType
-
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
-
build
Description copied from interface:UnitTypeBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-