org.qtitools.qti.group.test
Class PreConditionGroup

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

public class PreConditionGroup
extends AbstractNodeGroup

Group of preCondition children.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
PreConditionGroup(AbstractPart parent)
          Constructs group.
 
Method Summary
 PreCondition create(java.lang.String classTag)
          Creates child with given QTI class name.
 java.util.List<PreCondition> getPreConditions()
          Gets list of all children.
 
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

PreConditionGroup

public PreConditionGroup(AbstractPart parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getPreConditions

public java.util.List<PreCondition> getPreConditions()
Gets list of all children.

Returns:
list of all children

create

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