HazardousMaterial (API Reference)
Package com.here.sdk.transport
Enum Class HazardousMaterial
- All Implemented Interfaces:
Serializable,Comparable<HazardousMaterial>,Constable
Identifiers for different types of hazardous materials which can be shipped by the truck.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCombustible material.Corrosive material.Explosive material.Flammable material.Gas.Materials that are harmful to water.Organic material.Any other hazardous material.Poisonous material.Materials that are poisonous upon inhalation.Radioactive material. -
Method Summary
Modifier and TypeMethodDescriptionstatic HazardousMaterialReturns the enum constant of this class with the specified name.static HazardousMaterial[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXPLOSIVE
Explosive material.
-
GAS
Gas.
-
FLAMMABLE
Flammable material.
-
COMBUSTIBLE
Combustible material.
-
ORGANIC
Organic material.
-
POISON
Poisonous material.
-
RADIOACTIVE
Radioactive material.
-
CORROSIVE
Corrosive material.
-
POISONOUS_INHALATION
Materials that are poisonous upon inhalation.
-
HARMFUL_TO_WATER
Materials that are harmful to water.
-
OTHER
Any other hazardous material.
-
-
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
-