public enum ContextType extends java.lang.Enum<ContextType>
RSATestPackage.getContextType()| Enum Constant and Description |
|---|
OTHER
The 'OTHER' literal object.
|
PRIVATE
The 'PRIVATE' literal object.
|
WORK
The 'WORK' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
OTHER_VALUE
The 'OTHER' literal value.
|
static int |
PRIVATE_VALUE
The 'PRIVATE' literal value.
|
static java.util.List<ContextType> |
VALUES
A public read-only list of all the 'Context Type' enumerators.
|
static int |
WORK_VALUE
The 'WORK' literal value.
|
| Modifier and Type | Method and Description |
|---|---|
static ContextType |
get(int value)
Returns the 'Context Type' literal with the specified integer value.
|
static ContextType |
get(java.lang.String literal)
Returns the 'Context Type' literal with the specified literal value.
|
static ContextType |
getByName(java.lang.String name)
Returns the 'Context Type' 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 ContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextType OTHER
OTHER_VALUEpublic static final ContextType PRIVATE
PRIVATE_VALUEpublic static final ContextType WORK
WORK_VALUEpublic static final int OTHER_VALUE
If the meaning of 'OTHER' literal object isn't clear, there really should be more of a description here...
OTHER,
Constant Field Valuespublic static final int PRIVATE_VALUE
If the meaning of 'PRIVATE' literal object isn't clear, there really should be more of a description here...
PRIVATE,
Constant Field Valuespublic static final int WORK_VALUE
If the meaning of 'WORK' literal object isn't clear, there really should be more of a description here...
WORK,
Constant Field Valuespublic static final java.util.List<ContextType> VALUES
public static ContextType[] values()
for (ContextType c : ContextType.values()) System.out.println(c);
public static ContextType 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 ContextType get(java.lang.String literal)
literal - the literal.null.public static ContextType getByName(java.lang.String name)
name - the name.null.public static ContextType get(int value)
value - the integer value.null.public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<ContextType>Data In Motion Consulting GmbH