public enum DifferenceKind extends Enum<DifferenceKind> implements Enumerator
ComparePackage.getDifferenceKind()
Enum Constant and Description |
---|
ADD
The 'ADD' literal object
|
CHANGE
The 'CHANGE' literal object
|
DELETE
The 'DELETE' literal object
|
MOVE
The 'MOVE' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
ADD_VALUE
The 'ADD' literal value
|
static int |
CHANGE_VALUE
The 'CHANGE' literal value
|
static String |
copyright |
static int |
DELETE_VALUE
The 'DELETE' literal value
|
static int |
MOVE_VALUE
The 'MOVE' literal value
|
static List<DifferenceKind> |
VALUES
A public read-only list of all the 'Difference Kind' enumerators
|
Modifier and Type | Method and Description |
---|---|
static DifferenceKind |
get(int value)
Returns the 'Difference Kind' literal with the specified integer value
|
static DifferenceKind |
get(String literal)
Returns the 'Difference Kind' literal with the specified literal value
|
static DifferenceKind |
getByName(String name)
Returns the 'Difference 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 DifferenceKind |
valueOf(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 are declared.
|
public static final DifferenceKind ADD
ADD_VALUE
public static final DifferenceKind DELETE
DELETE_VALUE
public static final DifferenceKind CHANGE
CHANGE_VALUE
public static final DifferenceKind MOVE
MOVE_VALUE
public static final String copyright
public static final int ADD_VALUE
ADD
,
Constant Field Valuespublic static final int DELETE_VALUE
DELETE
,
Constant Field Valuespublic static final int CHANGE_VALUE
CHANGE
,
Constant Field Valuespublic static final int MOVE_VALUE
MOVE
,
Constant Field Valuespublic static final List<DifferenceKind> VALUES
public static DifferenceKind[] values()
for (DifferenceKind c : DifferenceKind.values()) System.out.println(c);
public static DifferenceKind 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 DifferenceKind get(String literal)
public static DifferenceKind getByName(String name)
public static DifferenceKind get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<DifferenceKind>
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.