public enum C_mitigation extends java.lang.Enum<C_mitigation> implements org.eclipse.emf.common.util.Enumerator
FailureTypesPackage.getC_mitigation()
Enum Constant and Description |
---|
FULL_CONSISTENCY
The 'Full consistency' literal object.
|
NONE
The 'None' literal object.
|
RANGE_VIOLATION_ALLOWED
The 'Range violation allowed' literal object.
|
UNSPECIFIED
The 'Unspecified' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
FULL_CONSISTENCY_VALUE
The 'Full consistency' literal value.
|
static int |
NONE_VALUE
The 'None' literal value.
|
static int |
RANGE_VIOLATION_ALLOWED_VALUE
The 'Range violation allowed' literal value.
|
static int |
UNSPECIFIED_VALUE
The 'Unspecified' literal value.
|
static java.util.List<C_mitigation> |
VALUES
A public read-only list of all the 'Cmitigation' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static C_mitigation |
get(int value)
Returns the 'Cmitigation' literal with the specified integer value.
|
static C_mitigation |
get(java.lang.String literal)
Returns the 'Cmitigation' literal with the specified literal value.
|
static C_mitigation |
getByName(java.lang.String name)
Returns the 'Cmitigation' 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 C_mitigation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static C_mitigation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final C_mitigation UNSPECIFIED
UNSPECIFIED_VALUE
public static final C_mitigation FULL_CONSISTENCY
FULL_CONSISTENCY_VALUE
public static final C_mitigation RANGE_VIOLATION_ALLOWED
RANGE_VIOLATION_ALLOWED_VALUE
public static final C_mitigation NONE
NONE_VALUE
public static final int UNSPECIFIED_VALUE
If the meaning of 'Unspecified' literal object isn't clear, there really should be more of a description here...
UNSPECIFIED
,
Constant Field Valuespublic static final int FULL_CONSISTENCY_VALUE
If the meaning of 'Full consistency' literal object isn't clear, there really should be more of a description here...
FULL_CONSISTENCY
,
Constant Field Valuespublic static final int RANGE_VIOLATION_ALLOWED_VALUE
If the meaning of 'Range violation allowed' literal object isn't clear, there really should be more of a description here...
RANGE_VIOLATION_ALLOWED
,
Constant Field Valuespublic static final int NONE_VALUE
If the meaning of 'None' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuespublic static final java.util.List<C_mitigation> VALUES
public static C_mitigation[] values()
for (C_mitigation c : C_mitigation.values()) System.out.println(c);
public static C_mitigation 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 C_mitigation get(java.lang.String literal)
literal
- the literal.null
.public static C_mitigation getByName(java.lang.String name)
name
- the name.null
.public static C_mitigation 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<C_mitigation>