org.qtitools.qti.group.result
Class TestResultGroup

java.lang.Object
  extended by org.qtitools.qti.group.AbstractNodeGroup
      extended by org.qtitools.qti.group.result.TestResultGroup
All Implemented Interfaces:
java.io.Serializable, NodeGroup, Validatable

public class TestResultGroup
extends AbstractNodeGroup

Group of testResult child.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
TestResultGroup(AssessmentResult parent)
          Constructs group.
 
Method Summary
 TestResult create(java.lang.String classTag)
          Creates child with given QTI class name.
 TestResult getTestResult()
          Gets child.
 void setTestResult(TestResult testResult)
          Sets new child.
 
Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, getParent, isGeneral, load, setChild, toXmlString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResultGroup

public TestResultGroup(AssessmentResult parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getTestResult

public TestResult getTestResult()
Gets child.

Returns:
child
See Also:
setTestResult(org.qtitools.qti.node.result.TestResult)

setTestResult

public void setTestResult(TestResult testResult)
Sets new child.

Parameters:
testResult - new child
See Also:
getTestResult()

create

public TestResult create(java.lang.String classTag)
Creates child with given QTI class name.

Parameter classTag is needed only if group can contain children with different QTI class names.

Parameters:
classTag - QTI class name (this parameter is ignored)
Returns:
created child


Copyright © 2009. All Rights Reserved.