public enum DistBranchCode extends java.lang.Enum<DistBranchCode> implements org.eclipse.emf.common.util.Enumerator
DistPackage.getDistBranchCode()
Enum Constant and Description |
---|
BREAKER
The 'Breaker' literal object.
|
FEEDER
The 'Feeder' literal object.
|
REACTOR
The 'Reactor' literal object.
|
TRANSFROMER
The 'Transfromer' literal object.
|
W3_TRANSFORMER
The 'W3 Transformer' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BREAKER_VALUE
The 'Breaker' literal value.
|
static int |
FEEDER_VALUE
The 'Feeder' literal value.
|
static int |
REACTOR_VALUE
The 'Reactor' literal value.
|
static int |
TRANSFROMER_VALUE
The 'Transfromer' literal value.
|
static java.util.List<DistBranchCode> |
VALUES
A public read-only list of all the 'Branch Code' enumerators.
|
static int |
W3_TRANSFORMER_VALUE
The 'W3 Transformer' literal value.
|
Modifier and Type | Method and Description |
---|---|
static DistBranchCode |
get(int value)
Returns the 'Branch Code' literal with the specified integer value.
|
static DistBranchCode |
get(java.lang.String literal)
Returns the 'Branch Code' literal with the specified literal value.
|
static DistBranchCode |
getByName(java.lang.String name)
Returns the 'Branch 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 DistBranchCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistBranchCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistBranchCode FEEDER
FEEDER_VALUE
public static final DistBranchCode BREAKER
BREAKER_VALUE
public static final DistBranchCode REACTOR
REACTOR_VALUE
public static final DistBranchCode TRANSFROMER
TRANSFROMER_VALUE
public static final DistBranchCode W3_TRANSFORMER
W3_TRANSFORMER_VALUE
public static final int FEEDER_VALUE
If the meaning of 'Feeder' literal object isn't clear, there really should be more of a description here...
FEEDER
,
Constant Field Valuespublic static final int BREAKER_VALUE
If the meaning of 'Breaker' literal object isn't clear, there really should be more of a description here...
BREAKER
,
Constant Field Valuespublic static final int REACTOR_VALUE
If the meaning of 'Reactor' literal object isn't clear, there really should be more of a description here...
REACTOR
,
Constant Field Valuespublic static final int TRANSFROMER_VALUE
If the meaning of 'Transfromer' literal object isn't clear, there really should be more of a description here...
TRANSFROMER
,
Constant Field Valuespublic static final int W3_TRANSFORMER_VALUE
If the meaning of 'W3 Transformer' literal object isn't clear, there really should be more of a description here...
W3_TRANSFORMER
,
Constant Field Valuespublic static final java.util.List<DistBranchCode> VALUES
public static DistBranchCode[] values()
for (DistBranchCode c : DistBranchCode.values()) System.out.println(c);
public static DistBranchCode 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 DistBranchCode get(java.lang.String literal)
literal
- the literal.null
.public static DistBranchCode getByName(java.lang.String name)
name
- the name.null
.public static DistBranchCode 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<DistBranchCode>