org.qtitools.qti.group.outcome.processing
Class OutcomeIfGroup

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

public class OutcomeIfGroup
extends AbstractNodeGroup

Group of outcomeIf child.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
OutcomeIfGroup(OutcomeCondition parent)
          Constructs group.
 
Method Summary
 OutcomeIf create(java.lang.String classTag)
          Creates child with given QTI class name.
 OutcomeIf getOutcomeIf()
          Gets child.
 void setOutcomeIf(OutcomeIf outcomeIf)
          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

OutcomeIfGroup

public OutcomeIfGroup(OutcomeCondition parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getOutcomeIf

public OutcomeIf getOutcomeIf()
Gets child.

Returns:
child
See Also:
setOutcomeIf(org.qtitools.qti.node.outcome.processing.OutcomeIf)

setOutcomeIf

public void setOutcomeIf(OutcomeIf outcomeIf)
Sets new child.

Parameters:
outcomeIf - new child
See Also:
getOutcomeIf()

create

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