public enum UnsetType extends Enum<UnsetType> implements org.eclipse.emf.common.util.Enumerator
OperationsPackage.getUnsetType()| Enum Constant and Description |
|---|
IS_UNSET
The 'IS UNSET' literal object.
|
NONE
The 'NONE' literal object.
|
WAS_UNSET
The 'WAS UNSET' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final UnsetType NONE
NONE_VALUEpublic static final UnsetType IS_UNSET
IS_UNSET_VALUEpublic static final UnsetType WAS_UNSET
WAS_UNSET_VALUEpublic 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 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 nameNullPointerException - if the argument is nullpublic static UnsetType get(String literal)
literal - the literal.null.public static UnsetType getByName(String name)
name - the name.null.public static UnsetType 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 © 2017. All rights reserved.