public enum DistBusCode extends java.lang.Enum<DistBusCode> implements org.eclipse.emf.common.util.Enumerator
DistPackage.getDistBusCode()
Enum Constant and Description |
---|
GENERATOR
The 'Generator' literal object.
|
IND_MOTOR
The 'Ind Motor' literal object.
|
MIXED_LOAD
The 'Mixed Load' literal object.
|
NON_CONTRIBUTE
The 'Non Contribute' literal object.
|
SYN_MOTOR
The 'Syn Motor' literal object.
|
UTILITY
The 'Utility' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
GENERATOR_VALUE
The 'Generator' literal value.
|
static int |
IND_MOTOR_VALUE
The 'Ind Motor' literal value.
|
static int |
MIXED_LOAD_VALUE
The 'Mixed Load' literal value.
|
static int |
NON_CONTRIBUTE_VALUE
The 'Non Contribute' literal value.
|
static int |
SYN_MOTOR_VALUE
The 'Syn Motor' literal value.
|
static int |
UTILITY_VALUE
The 'Utility' literal value.
|
static java.util.List<DistBusCode> |
VALUES
A public read-only list of all the 'Bus Code' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static DistBusCode |
get(int value)
Returns the 'Bus Code' literal with the specified integer value.
|
static DistBusCode |
get(java.lang.String literal)
Returns the 'Bus Code' literal with the specified literal value.
|
static DistBusCode |
getByName(java.lang.String name)
Returns the 'Bus 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 DistBusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistBusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistBusCode UTILITY
UTILITY_VALUE
public static final DistBusCode GENERATOR
GENERATOR_VALUE
public static final DistBusCode SYN_MOTOR
SYN_MOTOR_VALUE
public static final DistBusCode IND_MOTOR
IND_MOTOR_VALUE
public static final DistBusCode MIXED_LOAD
MIXED_LOAD_VALUE
public static final DistBusCode NON_CONTRIBUTE
NON_CONTRIBUTE_VALUE
public static final int UTILITY_VALUE
If the meaning of 'Utility' literal object isn't clear, there really should be more of a description here...
UTILITY
,
Constant Field Valuespublic static final int GENERATOR_VALUE
If the meaning of 'Generator' literal object isn't clear, there really should be more of a description here...
GENERATOR
,
Constant Field Valuespublic static final int SYN_MOTOR_VALUE
If the meaning of 'Syn Motor' literal object isn't clear, there really should be more of a description here...
SYN_MOTOR
,
Constant Field Valuespublic static final int IND_MOTOR_VALUE
If the meaning of 'Ind Motor' literal object isn't clear, there really should be more of a description here...
IND_MOTOR
,
Constant Field Valuespublic static final int MIXED_LOAD_VALUE
If the meaning of 'Mixed Load' literal object isn't clear, there really should be more of a description here...
MIXED_LOAD
,
Constant Field Valuespublic static final int NON_CONTRIBUTE_VALUE
If the meaning of 'Non Contribute' literal object isn't clear, there really should be more of a description here...
NON_CONTRIBUTE
,
Constant Field Valuespublic static final java.util.List<DistBusCode> VALUES
public static DistBusCode[] values()
for (DistBusCode c : DistBusCode.values()) System.out.println(c);
public static DistBusCode 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 DistBusCode get(java.lang.String literal)
literal
- the literal.null
.public static DistBusCode getByName(java.lang.String name)
name
- the name.null
.public static DistBusCode 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<DistBusCode>