public enum GeneratorType extends java.lang.Enum<GeneratorType> implements org.eclipse.emf.common.util.Enumerator
DstabPackage.getGeneratorType()
Enum Constant and Description |
---|
INVERTER_BASED
The 'Inverter Based' literal object.
|
SYNCH_MACHINE
The 'Synch Machine' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
INVERTER_BASED_VALUE
The 'Inverter Based' literal value.
|
static int |
SYNCH_MACHINE_VALUE
The 'Synch Machine' literal value.
|
static java.util.List<GeneratorType> |
VALUES
A public read-only list of all the 'Generator Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static GeneratorType |
get(int value)
Returns the 'Generator Type' literal with the specified integer value.
|
static GeneratorType |
get(java.lang.String literal)
Returns the 'Generator Type' literal with the specified literal value.
|
static GeneratorType |
getByName(java.lang.String name)
Returns the 'Generator 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 GeneratorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeneratorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneratorType SYNCH_MACHINE
SYNCH_MACHINE_VALUE
public static final GeneratorType INVERTER_BASED
INVERTER_BASED_VALUE
public static final int SYNCH_MACHINE_VALUE
If the meaning of 'Synch Machine' literal object isn't clear, there really should be more of a description here...
SYNCH_MACHINE
,
Constant Field Valuespublic static final int INVERTER_BASED_VALUE
If the meaning of 'Inverter Based' literal object isn't clear, there really should be more of a description here...
INVERTER_BASED
,
Constant Field Valuespublic static final java.util.List<GeneratorType> VALUES
public static GeneratorType[] values()
for (GeneratorType c : GeneratorType.values()) System.out.println(c);
public static GeneratorType 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 GeneratorType get(java.lang.String literal)
literal
- the literal.null
.public static GeneratorType getByName(java.lang.String name)
name
- the name.null
.public static GeneratorType 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<GeneratorType>