Module jonix.common
Enum Class DangerousGoodsRegulationss
java.lang.Object
java.lang.Enum<DangerousGoodsRegulationss>
com.tectonica.jonix.common.codelist.DangerousGoodsRegulationss
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<DangerousGoodsRegulationss>
,Constable
public enum DangerousGoodsRegulationss
extends Enum<DangerousGoodsRegulationss>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 243
Description: Dangerous goods regulations
Jonix-Comment: Introduced in Onix3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist
OnixCodelist.Pair
-
Enum Constant Summary
Enum ConstantDescriptionIndicates if the product is generally classed as a hazardous substance.The product is not classed as dangerous goods.Indicates the product is classed as a hazardous substance for purposes not covered by other codes.(Material) Safety Data Sheet available for the product.Indicates the product is classed as a hazardous substance for storage purposes.Indicates the product is classed as a hazardous substance for transportation purposes.Indicates the product is classed as a hazardous substance for disposal purposes. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DangerousGoodsRegulationss
static Optional<DangerousGoodsRegulationss>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static DangerousGoodsRegulationss
Returns the enum constant of this class with the specified name.static DangerousGoodsRegulationss[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
Inapplicable
The product is not classed as dangerous goods. The default if information is omitted -
GHS
Indicates if the product is generally classed as a hazardous substance. <ProductFormFeatureDescription> must contain a Hazard Class [eg “Irritant (Category 2)”] using the Globally Harmonized System of Classification and Labelling of Chemicals (http://www.unece.org/fileadmin/DAM/trans/danger/publi/ghs/ghs_rev08/ST-SG-AC10-30-Rev8e.pdf - Annex 1 contains a list of hazard classes and categories). The text is usually available on the Safety Data Sheet, along with equivalent GHS Hazard Pictograms, and may also be on the product or packaging. Must be accompanied by a Safety Data Sheet URL (see code 06), and is usually accompanied by one or more of codes 02-05 listing the specific chemlcal hazard -
Transport
Indicates the product is classed as a hazardous substance for transportation purposes. <ProductFormFeatureDescription> must contain a 'UN number' (or UNID, 'UN' plus four digits from the list of at http://www.unece.org/fileadmin/DAM/trans/danger/publi/unrec/English/index.pdf) specifying the specific chemical hazard, eg UN1203 is gasoline -
Storage
Indicates the product is classed as a hazardous substance for storage purposes. <ProductFormFeatureDescription> must contain a 'UN number' (or UNID, 'UN' plus four digits from the list of at http://www.unece.org/fileadmin/DAM/trans/danger/publi/unrec/English/index.pdf) specifying the specific chemical hazard, eg UN1203 is gasoline -
Waste
Indicates the product is classed as a hazardous substance for disposal purposes. <ProductFormFeatureDescription> must contain a 'UN number' (or UNID, 'UN' plus four digits from the list of at http://www.unece.org/fileadmin/DAM/trans/danger/publi/unrec/English/index.pdf) specifying the specific chemical hazard, eg UN1203 is gasoline -
Other
Indicates the product is classed as a hazardous substance for purposes not covered by other codes. <ProductFormFeatureDescription> must contain a 'UN number' (or UNID, 'UN' plus four digits from the list of at http://www.unece.org/fileadmin/DAM/trans/danger/publi/unrec/English/index.pdf) specifying the specific chemical hazard, eg UN1203 is gasoline. Must be accompanied by a Safety Data Sheet URL (see code 06) -
Safety_data_sheet_available
(Material) Safety Data Sheet available for the product. <ProductFormFeatureDescription> must contain the URL of documentation
-
-
Field Details
-
code
-
description
-
-
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
-
getCode
- Specified by:
getCode
in interfaceOnixCodelist
-
getDescription
- Specified by:
getDescription
in interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-