|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<UnsetType> org.eclipse.emf.emfstore.internal.server.model.versioning.operations.UnsetType
public enum UnsetType
A representation of the literals of the enumeration 'Unset Type', and utility methods for working with them.
OperationsPackage.getUnsetType()
Enum Constant Summary | |
---|---|
IS_UNSET
The 'IS UNSET' literal object. |
|
NONE
The 'NONE' literal object. |
|
WAS_UNSET
The 'WAS UNSET' literal object. |
Field Summary | |
---|---|
static int |
IS_UNSET_VALUE
The 'IS UNSET' literal value. |
static int |
NONE_VALUE
The 'NONE' literal value. |
static List<UnsetType> |
VALUES
A public read-only list of all the 'Unset Type' enumerators. |
static int |
WAS_UNSET_VALUE
The 'WAS UNSET' literal value. |
Method Summary | |
---|---|
static UnsetType |
get(int value)
Returns the 'Unset Type' literal with the specified integer value. |
static UnsetType |
get(String literal)
Returns the 'Unset Type' literal with the specified literal value. |
static UnsetType |
getByName(String name)
Returns the 'Unset 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 UnsetType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UnsetType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final UnsetType NONE
NONE_VALUE
public static final UnsetType IS_UNSET
IS_UNSET_VALUE
public static final UnsetType WAS_UNSET
WAS_UNSET_VALUE
Field Detail |
---|
public static final int NONE_VALUE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuespublic static final int IS_UNSET_VALUE
If the meaning of 'IS UNSET' literal object isn't clear, there really should be more of a description here...
IS_UNSET
,
Constant Field Valuespublic static final int WAS_UNSET_VALUE
If the meaning of 'WAS UNSET' literal object isn't clear, there really should be more of a description here...
WAS_UNSET
,
Constant Field Valuespublic static final List<UnsetType> VALUES
Method Detail |
---|
public static UnsetType[] values()
for (UnsetType c : UnsetType.values()) System.out.println(c);
public static UnsetType 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 UnsetType get(String literal)
public static UnsetType getByName(String name)
public static UnsetType get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<UnsetType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |