public enum DifferenceSource extends Enum<DifferenceSource> implements Enumerator
ComparePackage.getDifferenceSource()| Enum Constant and Description |
|---|
LEFT
The 'LEFT' literal object
|
RIGHT
The 'RIGHT' literal object
|
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
static int |
LEFT_VALUE
The 'LEFT' literal value
|
static int |
RIGHT_VALUE
The 'RIGHT' literal value
|
static List<DifferenceSource> |
VALUES
A public read-only list of all the 'Difference Source' enumerators
|
| Modifier and Type | Method and Description |
|---|---|
static DifferenceSource |
get(int value)
Returns the 'Difference Source' literal with the specified integer value
|
static DifferenceSource |
get(String literal)
Returns the 'Difference Source' literal with the specified literal value
|
static DifferenceSource |
getByName(String name)
Returns the 'Difference Source' 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 DifferenceSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DifferenceSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DifferenceSource LEFT
LEFT_VALUEpublic static final DifferenceSource RIGHT
RIGHT_VALUEpublic static final String copyright
public static final int LEFT_VALUE
LEFT,
Constant Field Valuespublic static final int RIGHT_VALUE
RIGHT,
Constant Field Valuespublic static final List<DifferenceSource> VALUES
public static DifferenceSource[] values()
for (DifferenceSource c : DifferenceSource.values()) System.out.println(c);
public static DifferenceSource 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 DifferenceSource get(String literal)
public static DifferenceSource getByName(String name)
public static DifferenceSource get(int value)
public int getValue()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumeratorpublic String toString()
toString in class Enum<DifferenceSource>
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.