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

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

public class DefaultValueGroup
extends AbstractNodeGroup

Group of defaultValue child.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
DefaultValueGroup(VariableDeclaration parent)
          Constructs group.
 
Method Summary
 DefaultValue create(java.lang.String classTag)
          Creates child with given QTI class name.
 DefaultValue getDefaultValue()
          Gets child.
 void setDefaultValue(DefaultValue defaultValue)
          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

DefaultValueGroup

public DefaultValueGroup(VariableDeclaration parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getDefaultValue

public DefaultValue getDefaultValue()
Gets child.

Returns:
child
See Also:
setDefaultValue(org.qtitools.qti.node.shared.declaration.DefaultValue)

setDefaultValue

public void setDefaultValue(DefaultValue defaultValue)
Sets new child.

Parameters:
defaultValue - new child
See Also:
getDefaultValue()

create

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