public enum FailureType extends java.lang.Enum<FailureType> implements org.eclipse.emf.common.util.Enumerator
FailureTypesPackage.getFailureType()
Enum Constant and Description |
---|
FAILURE
The 'Failure' literal object.
|
NO_FAILURE
The 'No Failure' literal object.
|
VARIABLE
The 'Variable' literal object.
|
WILDCARD
The 'Wildcard' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE_VALUE
The 'Failure' literal value.
|
static int |
NO_FAILURE_VALUE
The 'No Failure' literal value.
|
static java.util.List<FailureType> |
VALUES
A public read-only list of all the 'Failure Type' enumerators.
|
static int |
VARIABLE_VALUE
The 'Variable' literal value.
|
static int |
WILDCARD_VALUE
The 'Wildcard' literal value.
|
Modifier and Type | Method and Description |
---|---|
static FailureType |
get(int value)
Returns the 'Failure Type' literal with the specified integer value.
|
static FailureType |
get(java.lang.String literal)
Returns the 'Failure Type' literal with the specified literal value.
|
static FailureType |
getByName(java.lang.String name)
Returns the 'Failure Type' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static FailureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureType NO_FAILURE
NO_FAILURE_VALUE
public static final FailureType FAILURE
FAILURE_VALUE
public static final FailureType VARIABLE
VARIABLE_VALUE
public static final FailureType WILDCARD
WILDCARD_VALUE
public static final int NO_FAILURE_VALUE
If the meaning of 'No Failure' literal object isn't clear, there really should be more of a description here...
NO_FAILURE
,
Constant Field Valuespublic static final int FAILURE_VALUE
If the meaning of 'Failure' literal object isn't clear, there really should be more of a description here...
FAILURE
,
Constant Field Valuespublic static final int VARIABLE_VALUE
If the meaning of 'Variable' literal object isn't clear, there really should be more of a description here...
VARIABLE
,
Constant Field Valuespublic static final int WILDCARD_VALUE
If the meaning of 'Wildcard' literal object isn't clear, there really should be more of a description here...
WILDCARD
,
Constant Field Valuespublic static final java.util.List<FailureType> VALUES
public static FailureType[] values()
for (FailureType c : FailureType.values()) System.out.println(c);
public static FailureType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static FailureType get(java.lang.String literal)
literal
- the literal.null
.public static FailureType getByName(java.lang.String name)
name
- the name.null
.public static FailureType get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<FailureType>