public enum UpstreamRole extends java.lang.Enum<UpstreamRole> implements org.eclipse.emf.common.util.Enumerator
| Enum Constant and Description |
|---|
OPEN_HOST_SERVICE
The 'OPEN HOST SERVICE' literal object.
|
PUBLISHED_LANGUAGE
The 'PUBLISHED LANGUAGE' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
OPEN_HOST_SERVICE_VALUE
The 'OPEN HOST SERVICE' literal value.
|
static int |
PUBLISHED_LANGUAGE_VALUE
The 'PUBLISHED LANGUAGE' literal value.
|
static java.util.List<UpstreamRole> |
VALUES
A public read-only list of all the 'Upstream Role' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static UpstreamRole |
get(int value)
Returns the 'Upstream Role' literal with the specified integer value.
|
static UpstreamRole |
get(java.lang.String literal)
Returns the 'Upstream Role' literal with the specified literal value.
|
static UpstreamRole |
getByName(java.lang.String name)
Returns the 'Upstream Role' 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 UpstreamRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpstreamRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpstreamRole PUBLISHED_LANGUAGE
PUBLISHED_LANGUAGE_VALUEpublic static final UpstreamRole OPEN_HOST_SERVICE
OPEN_HOST_SERVICE_VALUEpublic static final int PUBLISHED_LANGUAGE_VALUE
If the meaning of 'PUBLISHED LANGUAGE' literal object isn't clear, there really should be more of a description here...
PUBLISHED_LANGUAGE,
Constant Field Valuespublic static final int OPEN_HOST_SERVICE_VALUE
If the meaning of 'OPEN HOST SERVICE' literal object isn't clear, there really should be more of a description here...
OPEN_HOST_SERVICE,
Constant Field Valuespublic static final java.util.List<UpstreamRole> VALUES
public static UpstreamRole[] values()
for (UpstreamRole c : UpstreamRole.values()) System.out.println(c);
public static UpstreamRole 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 UpstreamRole get(java.lang.String literal)
literal - the literal.null.public static UpstreamRole getByName(java.lang.String name)
name - the name.null.public static UpstreamRole 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<UpstreamRole>