public enum BusGroundCode extends java.lang.Enum<BusGroundCode> implements org.eclipse.emf.common.util.Enumerator
AcscPackage.getBusGroundCode()
Enum Constant and Description |
---|
SOLID_GROUNDED
The 'Solid Grounded' literal object.
|
UNGROUNDED
The 'Ungrounded' literal object.
|
ZGROUNDED
The 'ZGrounded' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
SOLID_GROUNDED_VALUE
The 'Solid Grounded' literal value.
|
static int |
UNGROUNDED_VALUE
The 'Ungrounded' literal value.
|
static java.util.List<BusGroundCode> |
VALUES
A public read-only list of all the 'Bus Ground Code' enumerators.
|
static int |
ZGROUNDED_VALUE
The 'ZGrounded' literal value.
|
Modifier and Type | Method and Description |
---|---|
static BusGroundCode |
get(int value)
Returns the 'Bus Ground Code' literal with the specified integer value.
|
static BusGroundCode |
get(java.lang.String literal)
Returns the 'Bus Ground Code' literal with the specified literal value.
|
static BusGroundCode |
getByName(java.lang.String name)
Returns the 'Bus Ground 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 BusGroundCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BusGroundCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusGroundCode UNGROUNDED
UNGROUNDED_VALUE
public static final BusGroundCode SOLID_GROUNDED
SOLID_GROUNDED_VALUE
public static final BusGroundCode ZGROUNDED
ZGROUNDED_VALUE
public static final int UNGROUNDED_VALUE
If the meaning of 'Ungrounded' literal object isn't clear, there really should be more of a description here...
UNGROUNDED
,
Constant Field Valuespublic static final int SOLID_GROUNDED_VALUE
If the meaning of 'Solid Grounded' literal object isn't clear, there really should be more of a description here...
SOLID_GROUNDED
,
Constant Field Valuespublic static final int ZGROUNDED_VALUE
If the meaning of 'ZGrounded' literal object isn't clear, there really should be more of a description here...
ZGROUNDED
,
Constant Field Valuespublic static final java.util.List<BusGroundCode> VALUES
public static BusGroundCode[] values()
for (BusGroundCode c : BusGroundCode.values()) System.out.println(c);
public static BusGroundCode 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 BusGroundCode get(java.lang.String literal)
literal
- the literal.null
.public static BusGroundCode getByName(java.lang.String name)
name
- the name.null
.public static BusGroundCode 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<BusGroundCode>