org.qtitools.qti.group.shared
Class FieldValueGroup

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

public class FieldValueGroup
extends AbstractNodeGroup

Group of fieldValue children.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
FieldValueGroup(FieldValueParent parent, java.lang.Integer minimum, java.lang.Integer maximum)
          Constructs group.
 
Method Summary
 FieldValue create(java.lang.String classTag)
          Creates child with given QTI class name.
 java.util.List<FieldValue> getFieldValues()
          Gets list of all children.
 
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

FieldValueGroup

public FieldValueGroup(FieldValueParent parent,
                       java.lang.Integer minimum,
                       java.lang.Integer maximum)
Constructs group.

Parameters:
parent - parent of created group
minimum - minimum required children of created group
maximum - maximum allowed children of created group
Method Detail

getFieldValues

public java.util.List<FieldValue> getFieldValues()
Gets list of all children.

Returns:
list of all children

create

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