public enum Access extends java.lang.Enum<Access> implements Enumerator
SecurityPackage.getAccess()| Enum Constant and Description |
|---|
READ
The 'READ' literal object.
|
WRITE
The 'WRITE' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
READ_VALUE
The 'READ' literal value.
|
static java.util.List<Access> |
VALUES
A public read-only list of all the 'Access' enumerators.
|
static int |
WRITE_VALUE
The 'WRITE' literal value.
|
| Modifier and Type | Method and Description |
|---|---|
static Access |
get(int value)
Returns the 'Access' literal with the specified integer value.
|
static Access |
get(java.lang.String literal)
Returns the 'Access' literal with the specified literal value.
|
static Access |
getByName(java.lang.String name)
Returns the 'Access' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static Access |
valueOf(java.lang.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.
|
public static final Access READ
READ_VALUEpublic static final Access WRITE
WRITE_VALUEpublic 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 java.util.List<Access> VALUES
public static Access[] values()
for (Access c : Access.values()) System.out.println(c);
public static Access 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 static Access get(java.lang.String literal)
literal - the literal.null.public static Access getByName(java.lang.String name)
name - the name.null.public static Access get(int value)
value - the integer value.null.public int getValue()
getValue in interface Enumeratorpublic java.lang.String getName()
getName in interface Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<Access>Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html