org.qtitools.qti.group.test
Class SelectionGroup

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

public class SelectionGroup
extends AbstractNodeGroup

Group of selection child.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
SelectionGroup(AssessmentSection parent)
          Constructs group.
 
Method Summary
 Selection create(java.lang.String classTag)
          Creates child with given QTI class name.
 Selection getSelection()
          Gets child.
 void setSelection(Selection selection)
          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

SelectionGroup

public SelectionGroup(AssessmentSection parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getSelection

public Selection getSelection()
Gets child.

Returns:
child
See Also:
setSelection(org.qtitools.qti.node.test.Selection)

setSelection

public void setSelection(Selection selection)
Sets new child.

Parameters:
selection - new child
See Also:
getSelection()

create

public Selection 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.