public enum EducationLevel extends Enum<EducationLevel>
| Enum Constant and Description |
|---|
BACHELORS
Enum value bachelors.
|
CERTIFICATE
Enum value certificate.
|
DOCTORAL
Enum value doctoral.
|
MASTERS
Enum value masters.
|
SCHOOL
Enum value school.
|
| Modifier and Type | Method and Description |
|---|---|
static EducationLevel |
fromString(String value)
Parses a serialized value to a EducationLevel instance.
|
String |
toString() |
static EducationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EducationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EducationLevel SCHOOL
public static final EducationLevel CERTIFICATE
public static final EducationLevel BACHELORS
public static final EducationLevel MASTERS
public static final EducationLevel DOCTORAL
public static EducationLevel[] values()
for (EducationLevel c : EducationLevel.values()) System.out.println(c);
public static EducationLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static EducationLevel fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<EducationLevel>Copyright © 2022. All rights reserved.