Module jonix.common
Enum Class UsAndCanadaExcludingQubecSchoolOrCollegeGrades
java.lang.Object
java.lang.Enum<UsAndCanadaExcludingQubecSchoolOrCollegeGrades>
com.tectonica.jonix.common.codelist.UsAndCanadaExcludingQubecSchoolOrCollegeGrades
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<UsAndCanadaExcludingQubecSchoolOrCollegeGrades>
,Constable
public enum UsAndCanadaExcludingQubecSchoolOrCollegeGrades
extends Enum<UsAndCanadaExcludingQubecSchoolOrCollegeGrades>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 77
Description: US and Canada (excluding Québec) school or college 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 ConstantDescriptionAge typically 18 yearsAge typically 22+ yearsAge typically 20 yearsAge typically 21 yearsAge typically 19 yearsAge typically 13 yearsHigh School Junior - age typically 16 yearsAge typically 10 yearsAge typically 6 yearsAge typically 9 yearsAge typically 5 yearsHigh School Freshman - age typically 14 yearsAge typically 0-4 yearsAge typically 7 yearsAge typically 12 yearsAge typically 11 yearsHigh School Sophomore - age typically 15 yearsAge typically 8 yearsHigh School Senior - age typically 17 years -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
Returns the enum constant of this class with the specified name.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
Age typically 0-4 years -
Kindergarten
Age typically 5 years -
First_Grade
Age typically 6 years -
Second_Grade
Age typically 7 years -
Third_Grade
Age typically 8 years -
Fourth_Grade
Age typically 9 years -
Fifth_Grade
Age typically 10 years -
Sixth_Grade
Age typically 11 years -
Seventh_Grade
Age typically 12 years -
Eighth_Grade
Age typically 13 years -
Ninth_Grade
High School Freshman - age typically 14 years -
Tenth_Grade
High School Sophomore - age typically 15 years -
Eleventh_Grade
High School Junior - age typically 16 years -
Twelfth_Grade
High School Senior - age typically 17 years -
College_Freshman
Age typically 18 years -
College_Sophomore
Age typically 19 years -
College_Junior
Age typically 20 years -
College_Senior
Age typically 21 years -
College_Graduate_Student
Age typically 22+ years
-
-
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
-