org.qtitools.qti.group.result
Class CandidateCommentGroup

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

public class CandidateCommentGroup
extends AbstractNodeGroup

Group of candidateComment child.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
CandidateCommentGroup(ItemResult parent)
          Constructs group.
 
Method Summary
 CandidateComment create(java.lang.String classTag)
          Creates child with given QTI class name.
 CandidateComment getCandidateComment()
          Gets child.
 void setCandidateComment(CandidateComment candidateComment)
          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

CandidateCommentGroup

public CandidateCommentGroup(ItemResult parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getCandidateComment

public CandidateComment getCandidateComment()
Gets child.

Returns:
child
See Also:
setCandidateComment(org.qtitools.qti.node.result.CandidateComment)

setCandidateComment

public void setCandidateComment(CandidateComment candidateComment)
Sets new child.

Parameters:
candidateComment - new child
See Also:
getCandidateComment()

create

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