org.qtitools.qti.node.test
Enum TestFeedbackAccess

java.lang.Object
  extended by java.lang.Enum<TestFeedbackAccess>
      extended by org.qtitools.qti.node.test.TestFeedbackAccess
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TestFeedbackAccess>

public enum TestFeedbackAccess
extends java.lang.Enum<TestFeedbackAccess>

Test feedback is shown to the candidate either directly following outcome processing (during the test) or at the end of the testPart or assessmentTest as appropriate (referred to as atEnd).

Possible values: during, atEnd

Author:
Jiri Kajaba

Enum Constant Summary
AT_END
          Feedback is shown at the end of test/testPart.
DURING
          Feedback is shown during test/testPart.
 
Field Summary
static java.lang.String CLASS_TAG
          Name of this class in xml schema.
 
Method Summary
static TestFeedbackAccess parseTestFeedbackAccess(java.lang.String testFeedbackAccess)
          Returns parsed TestFeedbackAccess from given String.
 java.lang.String toString()
           
static TestFeedbackAccess valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TestFeedbackAccess[] 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

DURING

public static final TestFeedbackAccess DURING
Feedback is shown during test/testPart.


AT_END

public static final TestFeedbackAccess AT_END
Feedback is shown at the end of test/testPart.

Field Detail

CLASS_TAG

public static final java.lang.String CLASS_TAG
Name of this class in xml schema.

See Also:
Constant Field Values
Method Detail

values

public static final TestFeedbackAccess[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TestFeedbackAccess c : TestFeedbackAccess.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TestFeedbackAccess valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TestFeedbackAccess>

parseTestFeedbackAccess

public static TestFeedbackAccess parseTestFeedbackAccess(java.lang.String testFeedbackAccess)
                                                  throws QTIParseException
Returns parsed TestFeedbackAccess from given String.

Parameters:
testFeedbackAccess - String representation of TestFeedbackAccess
Returns:
parsed TestFeedbackAccess from given String
Throws:
QTIParseException - if given String is not valid TestFeedbackAccess


Copyright © 2009. All Rights Reserved.