public enum AccessRightsType extends java.lang.Enum<AccessRightsType>
Enum Constant and Description |
---|
Custom |
Read_Only |
Read_Write |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Returns the integer value for this access rights type
|
static AccessRightsType |
getTypeForValue(int val)
Returns the AccessRightsType for the given int value.
|
static AccessRightsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessRightsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessRightsType Read_Only
public static final AccessRightsType Read_Write
public static final AccessRightsType Custom
public static AccessRightsType[] values()
for (AccessRightsType c : AccessRightsType.values()) System.out.println(c);
public static AccessRightsType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static AccessRightsType getTypeForValue(int val)