|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DifferenceKind> org.eclipse.emf.compare.diff.metamodel.DifferenceKind
public enum DifferenceKind
A representation of the literals of the enumeration 'Difference Kind', and utility methods for working with them.
DiffPackage.getDifferenceKind()
Enum Constant Summary | |
---|---|
ADDITION
The 'Addition' literal object. | |
CHANGE
The 'Change' literal object. | |
CONFLICT
The 'Conflict' literal object. | |
DELETION
The 'Deletion' literal object. | |
MOVE
The 'Move' literal object. |
Field Summary | |
---|---|
static int |
ADDITION_VALUE
The 'Addition' literal value. |
static int |
CHANGE_VALUE
The 'Change' literal value. |
static int |
CONFLICT_VALUE
The 'Conflict' literal value. |
static int |
DELETION_VALUE
The 'Deletion' literal value. |
static int |
MOVE_VALUE
The 'Move' literal value. |
static java.util.List<DifferenceKind> |
VALUES
A public read-only list of all the 'Difference Kind' enumerators. |
Method Summary | |
---|---|
static DifferenceKind |
get(int value)
Returns the 'Difference Kind' literal with the specified integer value. |
static DifferenceKind |
get(java.lang.String literal)
Returns the 'Difference Kind' literal with the specified literal value. |
static DifferenceKind |
getByName(java.lang.String name)
Returns the 'Difference Kind' 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 DifferenceKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DifferenceKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DifferenceKind ADDITION
ADDITION_VALUE
public static final DifferenceKind DELETION
DELETION_VALUE
public static final DifferenceKind CHANGE
CHANGE_VALUE
public static final DifferenceKind MOVE
MOVE_VALUE
public static final DifferenceKind CONFLICT
CONFLICT_VALUE
Field Detail |
---|
public static final int ADDITION_VALUE
If the meaning of 'Addition' literal object isn't clear, there really should be more of a description here...
ADDITION
,
Constant Field Valuespublic static final int DELETION_VALUE
If the meaning of 'Deletion' literal object isn't clear, there really should be more of a description here...
DELETION
,
Constant Field Valuespublic static final int CHANGE_VALUE
If the meaning of 'Change' literal object isn't clear, there really should be more of a description here...
CHANGE
,
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 final int CONFLICT_VALUE
If the meaning of 'Conflict' literal object isn't clear, there really should be more of a description here...
CONFLICT
,
Constant Field Valuespublic static final java.util.List<DifferenceKind> VALUES
Method Detail |
---|
public static final DifferenceKind[] values()
for(DifferenceKind c : DifferenceKind.values()) System.out.println(c);
public static DifferenceKind 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 namepublic static DifferenceKind get(java.lang.String literal)
public static DifferenceKind getByName(java.lang.String name)
public static DifferenceKind get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<DifferenceKind>
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |