Module jonix.common
Enum Class UsCpsiaChokingHazardWarnings
java.lang.Object
java.lang.Enum<UsCpsiaChokingHazardWarnings>
com.tectonica.jonix.common.codelist.UsCpsiaChokingHazardWarnings
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<UsCpsiaChokingHazardWarnings>
,Constable
public enum UsCpsiaChokingHazardWarnings
extends Enum<UsCpsiaChokingHazardWarnings>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 140
Description: US CPSIA choking hazard warning code
Jonix-Comment: Deprecated 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 ConstantDescriptionList withdrawn - use List 143List withdrawn - use List 143List withdrawn - use List 143List withdrawn - use List 143List withdrawn - use List 143List withdrawn - use List 143List withdrawn - use List 143 -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UsCpsiaChokingHazardWarnings
static Optional<UsCpsiaChokingHazardWarnings>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static UsCpsiaChokingHazardWarnings
Returns the enum constant of this class with the specified name.static UsCpsiaChokingHazardWarnings[]
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
-
WARNING_CHOKING_HAZARD_Small_parts_Not_for_children_under_3_yrs_
public static final UsCpsiaChokingHazardWarnings WARNING_CHOKING_HAZARD_Small_parts_Not_for_children_under_3_yrs_List withdrawn - use List 143 -
WARNING_CHOKING_HAZARD_This_toy_is_a_small_ball_Not_for_children_under_3_yrs_
public static final UsCpsiaChokingHazardWarnings WARNING_CHOKING_HAZARD_This_toy_is_a_small_ball_Not_for_children_under_3_yrs_List withdrawn - use List 143 -
WARNING_CHOKING_HAZARD_Toy_contains_a_small_ball_Not_for_children_under_3_yrs_
public static final UsCpsiaChokingHazardWarnings WARNING_CHOKING_HAZARD_Toy_contains_a_small_ball_Not_for_children_under_3_yrs_List withdrawn - use List 143 -
WARNING_CHOKING_HAZARD_Children_under_8_yrs_can_choke_or_suffocate_on_uninflated_or_broken_balloons_Adult_supervision_required_Keep_uninflated_balloons_from_children_Discard_broken_balloons_at_once_
public static final UsCpsiaChokingHazardWarnings WARNING_CHOKING_HAZARD_Children_under_8_yrs_can_choke_or_suffocate_on_uninflated_or_broken_balloons_Adult_supervision_required_Keep_uninflated_balloons_from_children_Discard_broken_balloons_at_once_List withdrawn - use List 143 -
WARNING_CHOKING_HAZARD_This_toy_is_a_marble_Not_for_children_under_3_yrs_
public static final UsCpsiaChokingHazardWarnings WARNING_CHOKING_HAZARD_This_toy_is_a_marble_Not_for_children_under_3_yrs_List withdrawn - use List 143 -
WARNING_CHOKING_HAZARD_Toy_contains_a_marble_Not_for_children_under_3_yrs_
public static final UsCpsiaChokingHazardWarnings WARNING_CHOKING_HAZARD_Toy_contains_a_marble_Not_for_children_under_3_yrs_List withdrawn - use List 143 -
No_choking_hazard_warning_necessary
List withdrawn - use List 143
-
-
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
-