public enum IODirection extends Enum<IODirection> implements org.eclipse.emf.common.util.Enumerator
OsgiPackage.getIODirection()
Enum Constant and Description |
---|
INPUT
The 'INPUT' literal object.
|
OUTPUT
The 'OUTPUT' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
INPUT_VALUE
The 'INPUT' literal value.
|
static int |
OUTPUT_VALUE
The 'OUTPUT' literal value.
|
static List<IODirection> |
VALUES
A public read-only list of all the 'IO Direction' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static IODirection |
get(int value)
Returns the 'IO Direction' literal with the specified integer value.
|
static IODirection |
get(String literal)
Returns the 'IO Direction' literal with the specified literal value.
|
static IODirection |
getByName(String name)
Returns the 'IO Direction' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static IODirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IODirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IODirection INPUT
INPUT_VALUE
public static final IODirection OUTPUT
OUTPUT_VALUE
public static final int INPUT_VALUE
If the meaning of 'INPUT' literal object isn't clear, there really should be more of a description here...
INPUT
,
Constant Field Valuespublic static final int OUTPUT_VALUE
If the meaning of 'OUTPUT' literal object isn't clear, there really should be more of a description here...
OUTPUT
,
Constant Field Valuespublic static final List<IODirection> VALUES
public static IODirection[] values()
for (IODirection c : IODirection.values()) System.out.println(c);
public static IODirection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static IODirection get(String literal)
literal
- the literal.null
.public static IODirection getByName(String name)
name
- the name.null
.public static IODirection get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<IODirection>