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