public enum ChangeType extends Enum<ChangeType> implements org.eclipse.emf.common.util.Enumerator
OsgiPackage.getChangeType()
Enum Constant and Description |
---|
DELTA
The 'DELTA' literal object.
|
DIRECTION
The 'DIRECTION' literal object.
|
SET
The 'SET' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
DELTA_VALUE
The 'DELTA' literal value.
|
static int |
DIRECTION_VALUE
The 'DIRECTION' literal value.
|
static int |
SET_VALUE
The 'SET' literal value.
|
static List<ChangeType> |
VALUES
A public read-only list of all the 'Change Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ChangeType |
get(int value)
Returns the 'Change Type' literal with the specified integer value.
|
static ChangeType |
get(String literal)
Returns the 'Change Type' literal with the specified literal value.
|
static ChangeType |
getByName(String name)
Returns the 'Change 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 ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType DELTA
DELTA_VALUE
public static final ChangeType SET
SET_VALUE
public static final ChangeType DIRECTION
DIRECTION_VALUE
public static final int DELTA_VALUE
If the meaning of 'DELTA' literal object isn't clear, there really should be more of a description here...
DELTA
,
Constant Field Valuespublic static final int SET_VALUE
If the meaning of 'SET' literal object isn't clear, there really should be more of a description here...
SET
,
Constant Field Valuespublic static final int DIRECTION_VALUE
If the meaning of 'DIRECTION' literal object isn't clear, there really should be more of a description here...
DIRECTION
,
Constant Field Valuespublic static final List<ChangeType> VALUES
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType 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 ChangeType get(String literal)
public static ChangeType getByName(String name)
public static ChangeType 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<ChangeType>