|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SessionStatus>
org.eclipse.datatools.connectivity.oda.design.SessionStatus
public enum SessionStatus
A representation of the literals of the enumeration 'Session Status', and utility methods for working with them. Indicates to ODA host designer on how to proceed after an ODA design session exits.
DesignPackage.getSessionStatus()
Enum Constant Summary | |
---|---|
ERROR_LITERAL
The 'Error' literal object. |
|
LOGIN_FAILED_LITERAL
The 'Login Failed' literal object. |
|
OK_LITERAL
The 'Ok' literal object. |
|
USER_CANCELLED_LITERAL
The 'User Cancelled' literal object. |
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static int |
ERROR
The 'Error' literal value. |
static int |
LOGIN_FAILED
The 'Login Failed' literal value. |
static int |
OK
The 'Ok' literal value. |
static int |
USER_CANCELLED
The 'User Cancelled' literal value. |
static java.util.List<SessionStatus> |
VALUES
A public read-only list of all the 'Session Status' enumerators. |
Method Summary | |
---|---|
static SessionStatus |
get(int value)
Returns the 'Session Status' literal with the specified integer value. |
static SessionStatus |
get(java.lang.String literal)
Returns the 'Session Status' literal with the specified literal value. |
static SessionStatus |
getByName(java.lang.String name)
Returns the 'Session Status' 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 SessionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SessionStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SessionStatus OK_LITERAL
OK
public static final SessionStatus USER_CANCELLED_LITERAL
USER_CANCELLED
public static final SessionStatus LOGIN_FAILED_LITERAL
LOGIN_FAILED
public static final SessionStatus ERROR_LITERAL
ERROR
Field Detail |
---|
public static final java.lang.String copyright
public static final int OK
OK_LITERAL
,
Constant Field Valuespublic static final int USER_CANCELLED
USER_CANCELLED_LITERAL
,
Constant Field Valuespublic static final int LOGIN_FAILED
LOGIN_FAILED_LITERAL
,
Constant Field Valuespublic static final int ERROR
ERROR_LITERAL
,
Constant Field Valuespublic static final java.util.List<SessionStatus> VALUES
Method Detail |
---|
public static final SessionStatus[] values()
for(SessionStatus c : SessionStatus.values()) System.out.println(c);
public static SessionStatus 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 namepublic static SessionStatus get(java.lang.String literal)
public static SessionStatus getByName(java.lang.String name)
public static SessionStatus get(int value)
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<SessionStatus>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |