org.qtitools.qti.group.item.response.declaration
Class MappingGroup

java.lang.Object
  extended by org.qtitools.qti.group.AbstractNodeGroup
      extended by org.qtitools.qti.group.item.response.declaration.MappingGroup
All Implemented Interfaces:
java.io.Serializable, NodeGroup, Validatable

public class MappingGroup
extends AbstractNodeGroup

Group of Mapping children.

Author:
Jonathon Hare
See Also:
Serialized Form

Constructor Summary
MappingGroup(ResponseDeclaration parent)
          Constructs group.
 
Method Summary
 Mapping create(java.lang.String classTag)
          Creates child with given QTI class name.
 Mapping getMapping()
          Gets child.
 void setMapping(Mapping mapping)
          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

MappingGroup

public MappingGroup(ResponseDeclaration parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getMapping

public Mapping getMapping()
Gets child.

Returns:
child
See Also:
setMapping(org.qtitools.qti.node.item.response.declaration.Mapping)

setMapping

public void setMapping(Mapping mapping)
Sets new child.

Parameters:
mapping - new child
See Also:
getMapping()

create

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