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

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

public class OutcomeElseGroup
extends AbstractNodeGroup

Group of outcomeElse child.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
OutcomeElseGroup(OutcomeCondition parent)
          Constructs group.
 
Method Summary
 OutcomeElse create(java.lang.String classTag)
          Creates child with given QTI class name.
 OutcomeElse getOutcomeElse()
          Gets child.
 void setOutcomeElse(OutcomeElse outcomeElse)
          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

OutcomeElseGroup

public OutcomeElseGroup(OutcomeCondition parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getOutcomeElse

public OutcomeElse getOutcomeElse()
Gets child.

Returns:
child
See Also:
setOutcomeElse(org.qtitools.qti.node.outcome.processing.OutcomeElse)

setOutcomeElse

public void setOutcomeElse(OutcomeElse outcomeElse)
Sets new child.

Parameters:
outcomeElse - new child
See Also:
getOutcomeElse()

create

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