public enum AccessLevel extends Enum<AccessLevel>
Desktop
data items can be accessed.Enum Constant and Description |
---|
GLOBAL
Data items can be accessed by all users.
|
PROFILE
Data items can be accessed by a particular user and profile.
|
USER
Data items can be accessed by a user regardless of the profile.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the unique code of the access level.
|
static AccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessLevel GLOBAL
public static final AccessLevel USER
public static final AccessLevel PROFILE
public static AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel 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 int getCode()
Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.