Enum Class HazardousMaterialType
- All Implemented Interfaces:
Serializable,Comparable<HazardousMaterialType>,Constable
Hazardous material type as defined in the enum applicable for those that carry these
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny type of hazardous material (composite restriction).Category B.Tunnel restriction category B/DTunnel restriction category B/ETunnel restriction category B/1000CCategory C.Tunnel restriction category C/DTunnel restriction category C/ETunnel restriction category C/5000DCombustible material.Corrosive material.Category D.Tunnel restriction category D/ECategory E.Explosive and flammable materials combined (composite restriction).Explosive material.Flammable material.Flammable solids and combustible materials.Gas.Materials that are harmful to water.Organic material.Any other hazardous material.Poisonous material.Materials that are poisonous upon inhalation.Radioactive material.Unknown hazardous material classification. -
Method Summary
Modifier and TypeMethodDescriptionstatic HazardousMaterialTypeReturns the enum constant of this class with the specified name.static HazardousMaterialType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown hazardous material classification.
-
EXPLOSIVES
Explosive material.
-
GAS
Gas.
-
FLAMMABLE
Flammable material.
-
FLAMMABLE_SOLID_COMBUSTIBLE
Flammable solids and combustible materials.
-
COMBUSTIBLE
Combustible material.
-
ORGANIC
Organic material.
-
POISON
Poisonous material.
-
RADIOACTIVE
Radioactive material.
-
CORROSIVE
Corrosive material.
-
OTHER
Any other hazardous material.
-
ANY_HAZARDOUS_MATERIAL
Any type of hazardous material (composite restriction).
-
POISONOUS_INHALATION
Materials that are poisonous upon inhalation.
-
HARMFUL_TO_WATER
Materials that are harmful to water.
-
EXPLOSIVE_AND_FLAMMABLE
Explosive and flammable materials combined (composite restriction).
-
B
Category B. Prohibited for the transport of hazardous substances which could cause a very large explosion.
-
B1000C
Tunnel restriction category B/1000C
-
B_D
Tunnel restriction category B/D
-
B_E
Tunnel restriction category B/E
-
C
Category C. The same restriction as for B, plus hazardous goods which could cause a large explosion or the extensive release of toxic substances.
-
C5000D
Tunnel restriction category C/5000D
-
C_D
Tunnel restriction category C/D
-
C_E
Tunnel restriction category C/E
-
D
Category D. The same restrictions as for C plus hazardous goods which could cause a large fire.
-
D_E
Tunnel restriction category D/E
-
E
Category E. Prohibited for the transport of all hazardous substances. There are some exceptions for certain radioactive substances, clinical waste and samples.
-
-
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
-