Package de.aeb.xnsg.logistics.bf
Enum Class UNECEQuantityUnit
- All Implemented Interfaces:
Serializable,Comparable<UNECEQuantityUnit>,Constable
Subset of UNECE quantity units according to "Recommendation No. 20 - Units of Measure used in International Trade".
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA unit of count defining the number of units in multiples of 100Square centimeter (10⁻⁴ m²)Cubic centimeter (10⁻⁶ m³)Centimeter (10⁻² m)Foot (0,304 8 m)Square foot (9,290 304 x 10⁻² m²)Cubic foot (2,831 685 x 10⁻² m³)Gram (10⁻³ kg)Hectoliter (10⁻¹ m³)Inch (25,4 x 10⁻³ m)Square inch (6,451 6 x 10⁻⁴ m²)Cubic inch (16,387 064 x 10⁻⁶ m³)KilogramKilometer (10³ m)Pound (0,453 592 37 kg)Liter (10⁻³ m³)A unit of count defining the number of units in multiples of 1000Milliliter (10⁻⁶ m³)Square millimeter (10⁻⁶ m²)Millimeter (10⁻³ m)Square meterCubic meterMeterNumber of articlesNumber of pairsOunce (2,834 952 x 10⁻² kg)Mile (statute mile) (1609,344 m)Metric ton (10³ kg)Square yard (8.361 274 x 10⁻¹ m² )Cubic yard (0,764 555 m³)Yard (0,914 4 m) -
Method Summary
Modifier and TypeMethodDescriptionstatic UNECEQuantityUnitReturns the enum constant of this class with the specified name.static UNECEQuantityUnit[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KGM
Kilogram -
GRM
Gram (10⁻³ kg) -
TNE
Metric ton (10³ kg) -
LBR
Pound (0,453 592 37 kg) -
ONZ
Ounce (2,834 952 x 10⁻² kg) -
MTR
Meter -
CMT
Centimeter (10⁻² m) -
MMT
Millimeter (10⁻³ m) -
KMT
Kilometer (10³ m) -
YRD
Yard (0,914 4 m) -
FOT
Foot (0,304 8 m) -
INH
Inch (25,4 x 10⁻³ m) -
SMI
Mile (statute mile) (1609,344 m) -
MTQ
Cubic meter -
CMQ
Cubic centimeter (10⁻⁶ m³) -
HLT
Hectoliter (10⁻¹ m³) -
LTR
Liter (10⁻³ m³) -
MLT
Milliliter (10⁻⁶ m³) -
YDQ
Cubic yard (0,764 555 m³) -
FTQ
Cubic foot (2,831 685 x 10⁻² m³) -
INQ
Cubic inch (16,387 064 x 10⁻⁶ m³) -
MTK
Square meter -
CMK
Square centimeter (10⁻⁴ m²) -
MMK
Square millimeter (10⁻⁶ m²) -
YDK
Square yard (8.361 274 x 10⁻¹ m² ) -
FTK
Square foot (9,290 304 x 10⁻² m²) -
INK
Square inch (6,451 6 x 10⁻⁴ m²) -
NAR
Number of articles -
NPR
Number of pairs -
CEN
A unit of count defining the number of units in multiples of 100 -
MIL
A unit of count defining the number of units in multiples of 1000
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-