|
||||||||||
| 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.qtitools.qti.node.result.SessionStatus
public enum SessionStatus
The session status is used to keep track of the status of the item variables in an item session.
Possible values: initial, pendingSubmission, pendingResponseProcessing, final
| Enum Constant Summary | |
|---|---|
FINAL
The value to use when the item variables represent the values at the end of an attempt after response processing has taken place. |
|
INITIAL
The value to use for sessions in the initial state, as described above. |
|
PENDING_RESPONSE_PROCESSING
The value to use when the item variables represent the values of the response variables after submission but before response processing has taken place. |
|
PENDING_SUBMISSION
The value to use when the item variables represent A snapshot of the current values during an attempt (in other words, while interacting or suspended). |
|
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Method Summary | |
|---|---|
static SessionStatus |
parseSessionStatus(java.lang.String sessionStatus)
Returns parsed SessionStatus from given String. |
java.lang.String |
toString()
|
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 |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SessionStatus INITIAL
public static final SessionStatus PENDING_SUBMISSION
public static final SessionStatus PENDING_RESPONSE_PROCESSING
public static final SessionStatus FINAL
| Field Detail |
|---|
public static final java.lang.String CLASS_TAG
| 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 java.lang.String toString()
toString in class java.lang.Enum<SessionStatus>
public static SessionStatus parseSessionStatus(java.lang.String sessionStatus)
throws QTIParseException
SessionStatus from given String.
sessionStatus - String representation of SessionStatus
SessionStatus from given String
QTIParseException - if given String is not valid SessionStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||