|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Access> org.eclipse.emf.cdo.security.Access
A representation of the literals of the enumeration 'Access', and utility methods for working with them.
SecurityPackage.getAccess()
Enum Constant Summary | |
---|---|
READ
The 'READ' literal object |
|
WRITE
The 'WRITE' literal object |
Field Summary | |
---|---|
static int |
READ_VALUE
The 'READ' literal value |
static List<Access> |
VALUES
A public read-only list of all the 'Access' enumerators |
static int |
WRITE_VALUE
The 'WRITE' literal value |
Method Summary | |
---|---|
static Access |
get(int value)
Returns the 'Access' literal with the specified integer value |
static Access |
get(String literal)
Returns the 'Access' literal with the specified literal value |
static Access |
getByName(String name)
Returns the 'Access' literal with the specified name |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static Access |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Access[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Access READ
READ_VALUE
public static final Access WRITE
WRITE_VALUE
Field Detail |
---|
public static final int READ_VALUE
If the meaning of 'READ' literal object isn't clear, there really should be more of a description here...
READ
,
Constant Field Valuespublic static final int WRITE_VALUE
If the meaning of 'WRITE' literal object isn't clear, there really should be more of a description here...
WRITE
,
Constant Field Valuespublic static final List<Access> VALUES
Method Detail |
---|
public static Access[] values()
for (Access c : Access.values()) System.out.println(c);
public static Access valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Access get(String literal)
public static Access getByName(String name)
public static Access get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<Access>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |