public enum UserType extends Enum<UserType> implements org.eclipse.emf.common.util.Enumerator
StorePackage.getUserType()| Enum Constant and Description |
|---|
ADMIN
The 'ADMIN' literal object.
|
READ_ONLY
The 'READ ONLY' literal object.
|
SYSTEM
The 'SYSTEM' literal object.
|
USER
The 'USER' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADMIN_VALUE
The 'ADMIN' literal value.
|
static int |
READ_ONLY_VALUE
The 'READ ONLY' literal value.
|
static int |
SYSTEM_VALUE
The 'SYSTEM' literal value.
|
static int |
USER_VALUE
The 'USER' literal value.
|
static List<UserType> |
VALUES
A public read-only list of all the 'User Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static UserType |
get(int value)
Returns the 'User Type' literal with the specified integer value.
|
static UserType |
get(String literal)
Returns the 'User Type' literal with the specified literal value.
|
static UserType |
getByName(String name)
Returns the 'User Type' 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 UserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserType SYSTEM
SYSTEM_VALUEpublic static final UserType ADMIN
ADMIN_VALUEpublic static final UserType USER
USER_VALUEpublic static final UserType READ_ONLY
READ_ONLY_VALUEpublic static final int SYSTEM_VALUE
If the meaning of 'SYSTEM' literal object isn't clear, there really should be more of a description here...
SYSTEM,
Constant Field Valuespublic static final int ADMIN_VALUE
If the meaning of 'ADMIN' literal object isn't clear, there really should be more of a description here...
ADMIN,
Constant Field Valuespublic static final int USER_VALUE
If the meaning of 'USER' literal object isn't clear, there really should be more of a description here...
USER,
Constant Field Valuespublic static final int READ_ONLY_VALUE
If the meaning of 'READ ONLY' literal object isn't clear, there really should be more of a description here...
READ_ONLY,
Constant Field Valuespublic static UserType[] values()
for (UserType c : UserType.values()) System.out.println(c);
public static UserType 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 static UserType get(String literal)
literal - the literal.null.public static UserType getByName(String name)
name - the name.null.public static UserType get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.EnumeratorCopyright © 2016 OpenSource BIM. All rights reserved.