org.qtitools.qti.group.outcome.declaration
Class LookupTableGroup

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

public class LookupTableGroup
extends AbstractNodeGroup

Group of lookupTable child.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
LookupTableGroup(OutcomeDeclaration parent)
          Constructs group.
 
Method Summary
 LookupTable create(java.lang.String classTag)
          Creates child with given QTI class name.
 LookupTable getLookupTable()
          Gets child.
 boolean isGeneral()
          Returns true if group can contain children with different QTI class name; false otherwise.
 void setLookupTable(LookupTable lookupTable)
          Sets new child.
 
Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, getParent, load, setChild, toXmlString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupTableGroup

public LookupTableGroup(OutcomeDeclaration parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

isGeneral

public boolean isGeneral()
Description copied from interface: NodeGroup
Returns true if group can contain children with different QTI class name; false otherwise.

Specified by:
isGeneral in interface NodeGroup
Overrides:
isGeneral in class AbstractNodeGroup
Returns:
true if group can contain children with different QTI class name; false otherwise

getLookupTable

public LookupTable getLookupTable()
Gets child.

Returns:
child
See Also:
setLookupTable(org.qtitools.qti.node.outcome.declaration.LookupTable)

setLookupTable

public void setLookupTable(LookupTable lookupTable)
Sets new child.

Parameters:
lookupTable - new child
See Also:
getLookupTable()

create

public LookupTable 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 needed)
Returns:
created child


Copyright © 2009. All Rights Reserved.