- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<ChineseSchoolGrades>
,Constable
Enum
that corresponds to ONIX Codelist 227
Description: Chinese School Grade
-
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 ConstantDescriptionTypical age 22+Typical age 13Typical age 14Typical age 12Typical age 3-5Typical age less than 3Typical age 10Typical age 6Typical age 9Typical age 7Typical age 11Typical age 8Typical age 16Typical age 15Typical age 17Typical age 18Typical age 21Typical age 19Typical age 20 -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChineseSchoolGrades
static Optional<ChineseSchoolGrades>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static ChineseSchoolGrades
Returns the enum constant of this class with the specified name.static ChineseSchoolGrades[]
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
-
Preschool
Typical age less than 3 -
Kindergarten
Typical age 3-5 -
Primary_school_First_grade
Typical age 6 -
Primary_school_Second_grade
Typical age 7 -
Primary_school_Third_grade
Typical age 8 -
Primary_school_Fourth_grade
Typical age 9 -
Primary_school_Fifth_grade
Typical age 10 -
Primary_school_Sixth_grade
Typical age 11 -
Junior_secondary_school_Seventh_grade
Typical age 12 -
Junior_secondary_school_Eighth_grade
Typical age 13 -
Junior_secondary_school_Ninth_grade
Typical age 14 -
Senior_secondary_school_Tenth_grade
Typical age 15 -
Senior_secondary_school_Eleventh_grade
Typical age 16 -
Senior_secondary_school_Twelfth_grade
Typical age 17 -
University_first_year
Typical age 18 -
University_second_year
Typical age 19 -
University_third_year
Typical age 20 -
University_fourth_year
Typical age 21 -
Graduate_level
Typical age 22+
-
-
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
-