public enum TypeOfUser extends Enum<TypeOfUser>
Enum Constant and Description |
---|
ASSISTED_PERSON |
CAREGIVER |
DEFAULT_USER |
Modifier and Type | Method and Description |
---|---|
static TypeOfUser |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeOfUser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeOfUser DEFAULT_USER
public static final TypeOfUser ASSISTED_PERSON
public static final TypeOfUser CAREGIVER
public static TypeOfUser[] values()
for (TypeOfUser c : TypeOfUser.values()) System.out.println(c);
public static TypeOfUser 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 nullCopyright © 2015 universAAL Consortium. All Rights Reserved.