public enum AccessRight extends Enum<AccessRight>
Modifier and Type | Method and Description |
---|---|
static AccessRight |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessRight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessRight EXCLUSIVE
public static final AccessRight SHARED
public static final AccessRight NO
public static AccessRight[] values()
for (AccessRight c : AccessRight.values()) System.out.println(c);
public static AccessRight 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 © 2012-2013 ADELE Research Group. All Rights Reserved.