public enum PractitionerRole extends Enum<PractitionerRole>
| Enum Constant and Description |
|---|
DOCTOR
null
|
ICT
null
|
NULL
added to help the parsers
|
NURSE
null
|
PHARMACIST
null
|
RESEARCHER
null
|
TEACHER
null
|
| Modifier and Type | Method and Description |
|---|---|
static PractitionerRole |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static PractitionerRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PractitionerRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PractitionerRole DOCTOR
public static final PractitionerRole NURSE
public static final PractitionerRole PHARMACIST
public static final PractitionerRole RESEARCHER
public static final PractitionerRole TEACHER
public static final PractitionerRole ICT
public static final PractitionerRole NULL
public static PractitionerRole[] values()
for (PractitionerRole c : PractitionerRole.values()) System.out.println(c);
public static PractitionerRole 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 PractitionerRole fromCode(String codeString) throws Exception
Exceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.