public enum SimpleFaultCode extends java.lang.Enum<SimpleFaultCode> implements org.eclipse.emf.common.util.Enumerator
AcscFaultPackage.getSimpleFaultCode()
Enum Constant and Description |
---|
GROUND_3P
The 'Ground 3P' literal object.
|
GROUND_LG
The 'Ground LG' literal object.
|
GROUND_LL
The 'Ground LL' literal object.
|
GROUND_LLG
The 'Ground LLG' literal object.
|
OUTAGE_1P
The 'Outage 1P' literal object.
|
OUTAGE_2P
The 'Outage 2P' literal object.
|
OUTAGE_3P
The 'Outage 3P' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
GROUND_3P_VALUE
The 'Ground 3P' literal value.
|
static int |
GROUND_LG_VALUE
The 'Ground LG' literal value.
|
static int |
GROUND_LL_VALUE
The 'Ground LL' literal value.
|
static int |
GROUND_LLG_VALUE
The 'Ground LLG' literal value.
|
static int |
OUTAGE_1P_VALUE
The 'Outage 1P' literal value.
|
static int |
OUTAGE_2P_VALUE
The 'Outage 2P' literal value.
|
static int |
OUTAGE_3P_VALUE
The 'Outage 3P' literal value.
|
static java.util.List<SimpleFaultCode> |
VALUES
A public read-only list of all the 'Simple Fault Code' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static SimpleFaultCode |
get(int value)
Returns the 'Simple Fault Code' literal with the specified integer value.
|
static SimpleFaultCode |
get(java.lang.String literal)
Returns the 'Simple Fault Code' literal with the specified literal value.
|
static SimpleFaultCode |
getByName(java.lang.String name)
Returns the 'Simple Fault Code' 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 SimpleFaultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleFaultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleFaultCode GROUND_LG
GROUND_LG_VALUE
public static final SimpleFaultCode GROUND_LL
GROUND_LL_VALUE
public static final SimpleFaultCode GROUND_LLG
GROUND_LLG_VALUE
public static final SimpleFaultCode GROUND_3P
GROUND_3P_VALUE
public static final SimpleFaultCode OUTAGE_3P
OUTAGE_3P_VALUE
public static final SimpleFaultCode OUTAGE_2P
OUTAGE_2P_VALUE
public static final SimpleFaultCode OUTAGE_1P
OUTAGE_1P_VALUE
public static final int GROUND_LG_VALUE
If the meaning of 'Ground LG' literal object isn't clear, there really should be more of a description here...
GROUND_LG
,
Constant Field Valuespublic static final int GROUND_LL_VALUE
If the meaning of 'Ground LL' literal object isn't clear, there really should be more of a description here...
GROUND_LL
,
Constant Field Valuespublic static final int GROUND_LLG_VALUE
If the meaning of 'Ground LLG' literal object isn't clear, there really should be more of a description here...
GROUND_LLG
,
Constant Field Valuespublic static final int GROUND_3P_VALUE
If the meaning of 'Ground 3P' literal object isn't clear, there really should be more of a description here...
GROUND_3P
,
Constant Field Valuespublic static final int OUTAGE_3P_VALUE
OUTAGE_3P
,
Constant Field Valuespublic static final int OUTAGE_2P_VALUE
OUTAGE_2P
,
Constant Field Valuespublic static final int OUTAGE_1P_VALUE
OUTAGE_1P
,
Constant Field Valuespublic static final java.util.List<SimpleFaultCode> VALUES
public static SimpleFaultCode[] values()
for (SimpleFaultCode c : SimpleFaultCode.values()) System.out.println(c);
public static SimpleFaultCode 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 SimpleFaultCode get(java.lang.String literal)
literal
- the literal.null
.public static SimpleFaultCode getByName(java.lang.String name)
name
- the name.null
.public static SimpleFaultCode 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<SimpleFaultCode>