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

See Also:
  • Enum Constant Details

    • Inapplicable

      public static final DangerousGoodsRegulationss Inapplicable
      The product is not classed as dangerous goods. The default if information is omitted
    • GHS

      public static final DangerousGoodsRegulationss 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

      public static final DangerousGoodsRegulationss 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

      public static final DangerousGoodsRegulationss 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

      public static final DangerousGoodsRegulationss 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

      public static final DangerousGoodsRegulationss 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

      public static final DangerousGoodsRegulationss Safety_data_sheet_available
      (Material) Safety Data Sheet available for the product. <ProductFormFeatureDescription> must contain the URL of documentation
  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static DangerousGoodsRegulationss[] 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 DangerousGoodsRegulationss 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
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static DangerousGoodsRegulationss byCode(String code)
    • byCodeOptional

      public static Optional<DangerousGoodsRegulationss> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)