public enum ErrorHandling extends Enum<ErrorHandling> implements org.eclipse.emf.common.util.Enumerator
OsgiPackage.getErrorHandling()
Enum Constant and Description |
---|
COUNT
The 'COUNT' literal object.
|
ERROR
The 'ERROR' literal object.
|
IGNORE
The 'IGNORE' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
COUNT_VALUE
The 'COUNT' literal value.
|
static int |
ERROR_VALUE
The 'ERROR' literal value.
|
static int |
IGNORE_VALUE
The 'IGNORE' literal value.
|
static List<ErrorHandling> |
VALUES
A public read-only list of all the 'Error Handling' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static ErrorHandling |
get(int value)
Returns the 'Error Handling' literal with the specified integer value.
|
static ErrorHandling |
get(String literal)
Returns the 'Error Handling' literal with the specified literal value.
|
static ErrorHandling |
getByName(String name)
Returns the 'Error Handling' 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 ErrorHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorHandling IGNORE
IGNORE_VALUE
public static final ErrorHandling COUNT
COUNT_VALUE
public static final ErrorHandling ERROR
ERROR_VALUE
public static final int IGNORE_VALUE
If the meaning of 'IGNORE' literal object isn't clear, there really should be more of a description here...
IGNORE
,
Constant Field Valuespublic static final int COUNT_VALUE
If the meaning of 'COUNT' literal object isn't clear, there really should be more of a description here...
COUNT
,
Constant Field Valuespublic static final int ERROR_VALUE
If the meaning of 'ERROR' literal object isn't clear, there really should be more of a description here...
ERROR
,
Constant Field Valuespublic static final List<ErrorHandling> VALUES
public static ErrorHandling[] values()
for (ErrorHandling c : ErrorHandling.values()) System.out.println(c);
public static ErrorHandling 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 ErrorHandling get(String literal)
literal
- the literal.null
.public static ErrorHandling getByName(String name)
name
- the name.null
.public static ErrorHandling get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<ErrorHandling>