public enum SubjectRole extends Enum<SubjectRole>
| Enum Constant and Description |
|---|
ADMINISTRATOR |
ASSISTANT |
PATIENT |
PROFESSIONAL |
REPRESENTATIVE |
TECHNICAL_USER |
| Modifier and Type | Method and Description |
|---|---|
static SubjectRole |
fromCode(CE code) |
CE |
getCode() |
static SubjectRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubjectRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubjectRole PATIENT
public static final SubjectRole PROFESSIONAL
public static final SubjectRole ASSISTANT
public static final SubjectRole REPRESENTATIVE
public static final SubjectRole ADMINISTRATOR
public static final SubjectRole TECHNICAL_USER
public static SubjectRole[] values()
for (SubjectRole c : SubjectRole.values()) System.out.println(c);
public static SubjectRole 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 SubjectRole fromCode(CE code)
public CE getCode()
Copyright © 2019 Open eHealth Foundation. All rights reserved.