public enum ViolationType extends java.lang.Enum<ViolationType> implements org.eclipse.emf.common.util.Enumerator
com.interpss.simu.multicase.result.MCaseResultPackage#getViolationType()| Enum Constant and Description |
|---|
THERMAL_MVA_RATING
The 'Thermal Mva Rating' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
THERMAL_MVA_RATING_VALUE
The 'Thermal Mva Rating' literal value.
|
static java.util.List<ViolationType> |
VALUES
A public read-only list of all the 'Violation Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ViolationType |
get(int value)
Returns the 'Violation Type' literal with the specified integer value.
|
static ViolationType |
get(java.lang.String literal)
Returns the 'Violation Type' literal with the specified literal value.
|
static ViolationType |
getByName(java.lang.String name)
Returns the 'Violation 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 ViolationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViolationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViolationType THERMAL_MVA_RATING
THERMAL_MVA_RATING_VALUEpublic static final int THERMAL_MVA_RATING_VALUE
If the meaning of 'Thermal Mva Rating' literal object isn't clear, there really should be more of a description here...
THERMAL_MVA_RATING,
Constant Field Valuespublic static final java.util.List<ViolationType> VALUES
public static ViolationType[] values()
for (ViolationType c : ViolationType.values()) System.out.println(c);
public static ViolationType 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 ViolationType get(java.lang.String literal)
public static ViolationType getByName(java.lang.String name)
public static ViolationType get(int value)
public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<ViolationType>