org.qtitools.qti.node.result
Class ItemResult

java.lang.Object
  extended by org.qtitools.qti.node.AbstractNode
      extended by org.qtitools.qti.node.AbstractObject
          extended by org.qtitools.qti.node.result.AbstractResult
              extended by org.qtitools.qti.node.result.ItemResult
All Implemented Interfaces:
java.io.Serializable, XmlNode, XmlObject, Validatable

public class ItemResult
extends AbstractResult

Result of one selected assessmentItem.

Author:
Jiri Kajaba, Jonathon Hare
See Also:
Serialized Form

Field Summary
static java.lang.Integer ATTR_SEQUENCE_INDEX_DEFAULT_VALUE
          Default value of sequenceIndex attribute.
static java.lang.String ATTR_SEQUENCE_INDEX_NAME
          Name of sequenceIndex attribute in xml schema.
static java.lang.String ATTR_SESSION_STATUS_NAME
          Name of sessionStatus attribute in xml schema.
static java.lang.String CLASS_TAG
          Name of this class in xml schema.
 
Fields inherited from class org.qtitools.qti.node.result.AbstractResult
ATTR_DATE_STAMP_NAME, ATTR_IDENTIFIER_NAME
 
Fields inherited from interface org.qtitools.qti.node.XmlNode
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR
 
Constructor Summary
ItemResult(AssessmentResult parent)
          Constructs object.
 
Method Summary
 CandidateComment getCandidateComment()
          Gets candidateComment child.
 java.lang.String getClassTag()
          Gets QTI class name of this node.
 java.lang.Integer getSequenceIndex()
          Gets value of sequenceIndex attribute.
 SessionStatus getSessionStatus()
          Gets value of sessionStatus attribute.
 void setCandidateComment(CandidateComment candidateComment)
          Sets new candidateComment child.
 void setSequenceIndex(java.lang.Integer sequenceIndex)
          Sets new value of sequenceIndex attribute.
 void setSessionStatus(SessionStatus sessionStatus)
          Sets new value of sessionStatus attribute.
 
Methods inherited from class org.qtitools.qti.node.result.AbstractResult
getDateStamp, getIdentifier, getItemVariables, getSimpleName, setDateStamp, setIdentifier
 
Methods inherited from class org.qtitools.qti.node.AbstractObject
getParent, getParentItem, getParentResult, getParentTest, setParent
 
Methods inherited from class org.qtitools.qti.node.AbstractNode
attrToXmlString, bodyToXmlString, getAttributes, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, loadAttributes, readChild, readChildren, setParent, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString, validate, validateAttributes, validateChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qtitools.qti.node.XmlNode
getAttributes, getFullName, getNodeGroups, getParentRoot, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString
 
Methods inherited from interface org.qtitools.qti.validation.Validatable
validate
 

Field Detail

CLASS_TAG

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

See Also:
Constant Field Values

ATTR_SEQUENCE_INDEX_NAME

public static final java.lang.String ATTR_SEQUENCE_INDEX_NAME
Name of sequenceIndex attribute in xml schema.

See Also:
Constant Field Values

ATTR_SEQUENCE_INDEX_DEFAULT_VALUE

public static final java.lang.Integer ATTR_SEQUENCE_INDEX_DEFAULT_VALUE
Default value of sequenceIndex attribute.


ATTR_SESSION_STATUS_NAME

public static final java.lang.String ATTR_SESSION_STATUS_NAME
Name of sessionStatus attribute in xml schema.

See Also:
Constant Field Values
Constructor Detail

ItemResult

public ItemResult(AssessmentResult parent)
Constructs object.

Parameters:
parent - parent of constructed object
Method Detail

getClassTag

public java.lang.String getClassTag()
Description copied from interface: XmlNode
Gets QTI class name of this node.

QTI class name has very important role during loading/saving nodes.

For example: Java class name is AssessmentTest; QTI class name is assessmentTest.

Specified by:
getClassTag in interface XmlNode
Specified by:
getClassTag in class AbstractNode
Returns:
QTI class name of this node

getSequenceIndex

public java.lang.Integer getSequenceIndex()
Gets value of sequenceIndex attribute.

Returns:
value of sequenceIndex attribute
See Also:
setSequenceIndex(java.lang.Integer)

setSequenceIndex

public void setSequenceIndex(java.lang.Integer sequenceIndex)
Sets new value of sequenceIndex attribute.

Parameters:
sequenceIndex - new value of sequenceIndex attribute
See Also:
getSequenceIndex()

getSessionStatus

public SessionStatus getSessionStatus()
Gets value of sessionStatus attribute.

Returns:
value of sessionStatus attribute
See Also:
setSessionStatus(org.qtitools.qti.node.result.SessionStatus)

setSessionStatus

public void setSessionStatus(SessionStatus sessionStatus)
Sets new value of sessionStatus attribute.

Parameters:
sessionStatus - new value of sesssionStatus attribute
See Also:
getSessionStatus()

getCandidateComment

public CandidateComment getCandidateComment()
Gets candidateComment child.

Returns:
candidateComment child
See Also:
setCandidateComment(org.qtitools.qti.node.result.CandidateComment)

setCandidateComment

public void setCandidateComment(CandidateComment candidateComment)
Sets new candidateComment child.

Parameters:
candidateComment - new candidateComment child
See Also:
getCandidateComment()


Copyright © 2009. All Rights Reserved.