|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ServiceType>
org.openxma.dsl.dom.model.ServiceType
public enum ServiceType
A representation of the literals of the enumeration 'Service Type', and utility methods for working with them.
org.openxma.dsl.dom.DomPackage#getServiceType()| Enum Constant Summary | |
|---|---|
LOCAL
The 'Local' literal object. |
|
REMOTE
The 'Remote' literal object. |
|
| Field Summary | |
|---|---|
static int |
LOCAL_VALUE
The 'Local' literal value. |
static int |
REMOTE_VALUE
The 'Remote' literal value. |
static List<ServiceType> |
VALUES
A public read-only list of all the 'Service Type' enumerators. |
| Method Summary | |
|---|---|
static ServiceType |
get(int value)
Returns the 'Service Type' literal with the specified integer value. |
static ServiceType |
get(String literal)
Returns the 'Service Type' literal with the specified literal value. |
static ServiceType |
getByName(String name)
Returns the 'Service Type' 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 ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ServiceType REMOTE
REMOTE_VALUEpublic static final ServiceType LOCAL
LOCAL_VALUE| Field Detail |
|---|
public static final int REMOTE_VALUE
If the meaning of 'Remote' literal object isn't clear, there really should be more of a description here...
REMOTE,
Constant Field Valuespublic static final int LOCAL_VALUE
If the meaning of 'Local' literal object isn't clear, there really should be more of a description here...
LOCAL,
Constant Field Valuespublic static final List<ServiceType> VALUES
| Method Detail |
|---|
public static ServiceType[] values()
for (ServiceType c : ServiceType.values()) System.out.println(c);
public static ServiceType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static ServiceType get(String literal)
public static ServiceType getByName(String name)
public static ServiceType get(int value)
public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<ServiceType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||