public enum JobType extends Enum<JobType>
Enum Constant and Description |
---|
COACH |
DEVELOPER |
DOCTOR |
POLITICIAN |
SOCIALITE |
TEACHER |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static JobType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobType |
valueOfCode(String code) |
static JobType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobType POLITICIAN
public static final JobType SOCIALITE
public static final JobType DOCTOR
public static final JobType COACH
public static final JobType TEACHER
public static final JobType DEVELOPER
public static JobType[] values()
for (JobType c : JobType.values()) System.out.println(c);
public static JobType 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 String getCode()
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.