Enum Class UNECEQuantityUnit

java.lang.Object
java.lang.Enum<UNECEQuantityUnit>
de.aeb.xnsg.logistics.bf.UNECEQuantityUnit
All Implemented Interfaces:
Serializable, Comparable<UNECEQuantityUnit>, Constable

public enum UNECEQuantityUnit extends Enum<UNECEQuantityUnit>
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 Constants
    Enum Constant
    Description
    A unit of count defining the number of units in multiples of 100
    Square 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³)
    Kilogram
    Kilometer (10³ m)
    Pound (0,453 592 37 kg)
    Liter (10⁻³ m³)
    A unit of count defining the number of units in multiples of 1000
    Milliliter (10⁻⁶ m³)
    Square millimeter (10⁻⁶ m²)
    Millimeter (10⁻³ m)
    Square meter
    Cubic meter
    Meter
    Number of articles
    Number of pairs
    Ounce (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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static UNECEQuantityUnit[] 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

      public static UNECEQuantityUnit valueOf(String name)
      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 name
      NullPointerException - if the argument is null