Enum HazardousMaterial
Package com.here.sdk.transport
Enum HazardousMaterial
- java.lang.Object
-
- java.lang.Enum<HazardousMaterial>
-
- com.here.sdk.transport.HazardousMaterial
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HazardousMaterial>
public enum HazardousMaterial extends java.lang.Enum<HazardousMaterial>
Identifiers for different types of hazardous materials which can be shipped by the truck.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMBUSTIBLECombustible material.CORROSIVECorrosive material.EXPLOSIVEExplosive material.FLAMMABLEFlammable material.GASGas.HARMFUL_TO_WATERMaterials that are harmful to water.ORGANICOrganic material.OTHERAny other hazardous material.POISONPoisonous material.POISONOUS_INHALATIONMaterials that are poisonous upon inhalation.RADIOACTIVERadioactive material.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HazardousMaterialvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HazardousMaterial[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static HazardousMaterial[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HazardousMaterial c : HazardousMaterial.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HazardousMaterial valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-