public enum DiffKind extends Enum<DiffKind> implements org.eclipse.emf.common.util.Enumerator
PropertiesPackage.getDiffKind()| Enum Constant and Description |
|---|
ADD
The 'ADD' literal object
|
COPY
The 'COPY' literal object
|
MODIFY
The 'MODIFY' literal object
|
MOVE
The 'MOVE' literal object
|
REMOVE
The 'REMOVE' literal object
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_VALUE
The 'ADD' literal value
|
static int |
COPY_VALUE
The 'COPY' literal value
|
static int |
MODIFY_VALUE
The 'MODIFY' literal value
|
static int |
MOVE_VALUE
The 'MOVE' literal value
|
static int |
REMOVE_VALUE
The 'REMOVE' literal value
|
static List<DiffKind> |
VALUES
A public read-only list of all the 'Diff Kind' enumerators
|
| Modifier and Type | Method and Description |
|---|---|
static DiffKind |
get(int value)
Returns the 'Diff Kind' literal with the specified integer value
|
static DiffKind |
get(String literal)
Returns the 'Diff Kind' literal with the specified literal value
|
static DiffKind |
getByName(String name)
Returns the 'Diff Kind' 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 DiffKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffKind REMOVE
REMOVE_VALUEpublic static final DiffKind MODIFY
MODIFY_VALUEpublic static final DiffKind COPY
COPY_VALUEpublic static final DiffKind MOVE
MOVE_VALUEpublic static final int ADD_VALUE
If the meaning of 'ADD' literal object isn't clear, there really should be more of a description here...
ADD,
Constant Field Valuespublic static final int REMOVE_VALUE
If the meaning of 'REMOVE' literal object isn't clear, there really should be more of a description here...
REMOVE,
Constant Field Valuespublic static final int MODIFY_VALUE
If the meaning of 'MODIFY' literal object isn't clear, there really should be more of a description here...
MODIFY,
Constant Field Valuespublic static final int COPY_VALUE
If the meaning of 'COPY' literal object isn't clear, there really should be more of a description here...
COPY,
Constant Field Valuespublic static final int MOVE_VALUE
If the meaning of 'MOVE' literal object isn't clear, there really should be more of a description here...
MOVE,
Constant Field Valuespublic static DiffKind[] values()
for (DiffKind c : DiffKind.values()) System.out.println(c);
public static DiffKind 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 DiffKind get(String literal)
public static DiffKind getByName(String name)
public static DiffKind get(int value)
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 © 2013–2014 Jabylon. All rights reserved.