public enum RoleCode extends Enum<RoleCode>
RoleCode is a enum with three Role codes currently available
| Enum Constant and Description |
|---|
Employee |
MANAGER |
PRACTITIONER |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns the value of this role code
|
void |
setValue(String value)
Sets the value of role code based on value parameter
|
static RoleCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleCode Employee
public static final RoleCode MANAGER
public static final RoleCode PRACTITIONER
private String value
public static RoleCode[] values()
for (RoleCode c : RoleCode.values()) System.out.println(c);
public static RoleCode 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 getValue()
public void setValue(String value)
value - role code value to setCopyright © 2016 ADP LLC. All rights reserved.