public enum ConflictKind extends Enum<ConflictKind> implements Enumerator
ComparePackage.getConflictKind()| Enum Constant and Description |
|---|
PSEUDO
The 'PSEUDO' literal object
|
REAL
The 'REAL' literal object
|
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
static int |
PSEUDO_VALUE
The 'PSEUDO' literal value
|
static int |
REAL_VALUE
The 'REAL' literal value
|
static List<ConflictKind> |
VALUES
A public read-only list of all the 'Conflict Kind' enumerators
|
| Modifier and Type | Method and Description |
|---|---|
static ConflictKind |
get(int value)
Returns the 'Conflict Kind' literal with the specified integer value
|
static ConflictKind |
get(String literal)
Returns the 'Conflict Kind' literal with the specified literal value
|
static ConflictKind |
getByName(String name)
Returns the 'Conflict 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 ConflictKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConflictKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConflictKind REAL
REAL_VALUEpublic static final ConflictKind PSEUDO
PSEUDO_VALUEpublic static final String copyright
public static final int REAL_VALUE
REAL,
Constant Field Valuespublic static final int PSEUDO_VALUE
PSEUDO,
Constant Field Valuespublic static final List<ConflictKind> VALUES
public static ConflictKind[] values()
for (ConflictKind c : ConflictKind.values()) System.out.println(c);
public static ConflictKind 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 ConflictKind get(String literal)
public static ConflictKind getByName(String name)
public static ConflictKind 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<ConflictKind>
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.