Enum Class HazardousMaterial

java.lang.Object
java.lang.Enum<HazardousMaterial>
com.here.sdk.transport.HazardousMaterial
All Implemented Interfaces:
Serializable, Comparable<HazardousMaterial>, Constable

public enum HazardousMaterial extends Enum<HazardousMaterial>

Identifiers for different types of hazardous materials which can be shipped by the truck.

  • Enum Constant Details

    • EXPLOSIVE

      public static final HazardousMaterial EXPLOSIVE

      Explosive material.

    • GAS

      public static final HazardousMaterial GAS

      Gas.

    • FLAMMABLE

      public static final HazardousMaterial FLAMMABLE

      Flammable material.

    • COMBUSTIBLE

      public static final HazardousMaterial COMBUSTIBLE

      Combustible material.

    • ORGANIC

      public static final HazardousMaterial ORGANIC

      Organic material.

    • POISON

      public static final HazardousMaterial POISON

      Poisonous material.

    • RADIOACTIVE

      public static final HazardousMaterial RADIOACTIVE

      Radioactive material.

    • CORROSIVE

      public static final HazardousMaterial CORROSIVE

      Corrosive material.

    • POISONOUS_INHALATION

      public static final HazardousMaterial POISONOUS_INHALATION

      Materials that are poisonous upon inhalation.

    • HARMFUL_TO_WATER

      public static final HazardousMaterial HARMFUL_TO_WATER

      Materials that are harmful to water.

    • OTHER

      public static final HazardousMaterial OTHER

      Any other hazardous material.

  • Method Details

    • values

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