public enum MachineType extends java.lang.Enum<MachineType> implements org.eclipse.emf.common.util.Enumerator
DstabMachPackage.getMachineType()| Enum Constant and Description |
|---|
ECONSTANT
The 'EConstant' literal object.
|
EQ1_ED1_MODEL
The 'Eq1 Ed1 Model' literal object.
|
EQ1_MODEL
The 'Eq1 Model' literal object.
|
EQ11_ED11_ROUND_ROTOR
The 'Eq11 Ed11 Round Rotor' literal object.
|
EQ11_SALIENT_POLE
The 'Eq11 Salient Pole' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ECONSTANT_VALUE
The 'EConstant' literal value.
|
static int |
EQ1_ED1_MODEL_VALUE
The 'Eq1 Ed1 Model' literal value.
|
static int |
EQ1_MODEL_VALUE
The 'Eq1 Model' literal value.
|
static int |
EQ11_ED11_ROUND_ROTOR_VALUE
The 'Eq11 Ed11 Round Rotor' literal value.
|
static int |
EQ11_SALIENT_POLE_VALUE
The 'Eq11 Salient Pole' literal value.
|
static java.util.List<MachineType> |
VALUES
A public read-only list of all the 'Machine Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static MachineType |
get(int value)
Returns the 'Machine Type' literal with the specified integer value.
|
static MachineType |
get(java.lang.String literal)
Returns the 'Machine Type' literal with the specified literal value.
|
static MachineType |
getByName(java.lang.String name)
Returns the 'Machine 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 MachineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MachineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MachineType ECONSTANT
ECONSTANT_VALUEpublic static final MachineType EQ1_MODEL
EQ1_MODEL_VALUEpublic static final MachineType EQ1_ED1_MODEL
EQ1_ED1_MODEL_VALUEpublic static final MachineType EQ11_SALIENT_POLE
EQ11_SALIENT_POLE_VALUEpublic static final MachineType EQ11_ED11_ROUND_ROTOR
EQ11_ED11_ROUND_ROTOR_VALUEpublic static final int ECONSTANT_VALUE
If the meaning of 'EConstant' literal object isn't clear, there really should be more of a description here...
ECONSTANT,
Constant Field Valuespublic static final int EQ1_MODEL_VALUE
If the meaning of 'Eq1 Model' literal object isn't clear, there really should be more of a description here...
EQ1_MODEL,
Constant Field Valuespublic static final int EQ1_ED1_MODEL_VALUE
If the meaning of 'Eq1 Ed1 Model' literal object isn't clear, there really should be more of a description here...
EQ1_ED1_MODEL,
Constant Field Valuespublic static final int EQ11_SALIENT_POLE_VALUE
If the meaning of 'Eq11 Salient Pole' literal object isn't clear, there really should be more of a description here...
EQ11_SALIENT_POLE,
Constant Field Valuespublic static final int EQ11_ED11_ROUND_ROTOR_VALUE
If the meaning of 'Eq11 Ed11 Round Rotor' literal object isn't clear, there really should be more of a description here...
EQ11_ED11_ROUND_ROTOR,
Constant Field Valuespublic static final java.util.List<MachineType> VALUES
public static MachineType[] values()
for (MachineType c : MachineType.values()) System.out.println(c);
public static MachineType 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 MachineType get(java.lang.String literal)
literal - the literal.null.public static MachineType getByName(java.lang.String name)
name - the name.null.public static MachineType get(int value)
value - the integer value.null.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<MachineType>