|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.node.AbstractNode
org.qtitools.qti.node.AbstractObject
org.qtitools.qti.node.UniqueObject
org.qtitools.qti.node.test.ControlObject
org.qtitools.qti.node.test.AbstractPart
org.qtitools.qti.node.test.SectionPart
org.qtitools.qti.node.test.AssessmentSection
public class AssessmentSection
Sections group together individual item references and/or sub-sections.
| Field Summary | |
|---|---|
static boolean |
ATTR_KEEP_TOGETHER_DEFAULT_VALUE
Default value of keepTogether attribute. |
static java.lang.String |
ATTR_KEEP_TOGETHER_NAME
Name of keepTogether attribute in xml schema. |
static java.lang.String |
ATTR_TITLE_NAME
Name of title attribute in xml schema. |
static java.lang.String |
ATTR_VISIBLE_NAME
Name of visible attribute in xml schema. |
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Fields inherited from class org.qtitools.qti.node.test.SectionPart |
|---|
ATTR_FIXED_DEFAULT_VALUE, ATTR_FIXED_NAME, ATTR_REQUIRED_DEFAULT_VALUE, ATTR_REQUIRED_NAME, DISPLAY_NAME |
| Fields inherited from class org.qtitools.qti.node.test.ControlObject |
|---|
finished, VARIABLE_DURATION_NAME |
| Fields inherited from class org.qtitools.qti.node.UniqueObject |
|---|
ATTR_IDENTIFIER_NAME |
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Constructor Summary | |
|---|---|
AssessmentSection(AbstractPart parent)
Constructs section. |
|
| Method Summary | |
|---|---|
java.util.List<SectionPart> |
getChildren()
Gets abstractPart children. |
java.lang.String |
getClassTag()
Gets QTI class name of this node. |
java.lang.Boolean |
getKeepTogether()
Gets value of keepTogether attribute. |
Ordering |
getOrdering()
Gets ordering child. |
java.util.List<RubricBlock> |
getRubricBlocks()
Gets rubricBlock children. |
java.util.List<SectionPart> |
getSectionParts()
Gets sectionPart children. |
Selection |
getSelection()
Gets selection child. |
java.lang.String |
getTitle()
Gets value of title attribute. |
java.lang.Boolean |
getVisible()
Gets value of visible attribute. |
void |
initialize()
Initialises this object and all its abstractPart children. |
void |
setKeepTogether(java.lang.Boolean keepTogether)
Sets new value of keepTogether attribute. |
void |
setOrdering(Ordering ordering)
Sets new ordering child. |
void |
setSelection(Selection selection)
Sets new selection child. |
void |
setTitle(java.lang.String title)
Sets new value of title attribute. |
void |
setVisible(java.lang.Boolean visible)
Sets new value of visible attribute. |
| Methods inherited from class org.qtitools.qti.node.test.SectionPart |
|---|
getFixed, getItemSessionControl, getParent, getParentSection, getRequired, isJumpSafeSource, isJumpSafeTarget, setFixed, setParent, setRequired |
| Methods inherited from class org.qtitools.qti.node.test.AbstractPart |
|---|
getBranchRules, getItemSessionControlNode, getParentTestPart, getPreConditions, setItemSessionControlNode |
| Methods inherited from class org.qtitools.qti.node.test.ControlObject |
|---|
getDuration, getFinishedCount, getGlobalIndex, getPresentedCount, getResponseTime, getTimeLimit, getTotalCount, getTotalTime, isBuiltInVariable, isChildOf, isFinished, isPresented, lookup, lookupItemRef, lookupItemRefs, lookupItemRefs, lookupValue, passMaximumTimeLimit, passMinimumTimeLimit, setFinished, setTimeLimit |
| Methods inherited from class org.qtitools.qti.node.UniqueObject |
|---|
getIdentifier, getSimpleName, setIdentifier, validateAttributes |
| Methods inherited from class org.qtitools.qti.node.AbstractObject |
|---|
getParentItem, getParentResult, getParentTest, setParent |
| Methods inherited from class org.qtitools.qti.node.AbstractNode |
|---|
attrToXmlString, bodyToXmlString, getAttributes, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, loadAttributes, readChild, readChildren, setParent, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString, validate, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.qtitools.qti.node.XmlNode |
|---|
getAttributes, getFullName, getNodeGroups, getParentRoot, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString |
| Methods inherited from interface org.qtitools.qti.validation.Validatable |
|---|
validate |
| Field Detail |
|---|
public static final java.lang.String CLASS_TAG
public static final java.lang.String ATTR_TITLE_NAME
public static final java.lang.String ATTR_VISIBLE_NAME
public static final java.lang.String ATTR_KEEP_TOGETHER_NAME
public static final boolean ATTR_KEEP_TOGETHER_DEFAULT_VALUE
| Constructor Detail |
|---|
public AssessmentSection(AbstractPart parent)
parent - parent of constructed section| Method Detail |
|---|
public java.lang.String getClassTag()
XmlNodeQTI class name has very important role during loading/saving nodes.
For example: Java class name is AssessmentTest; QTI class name is assessmentTest.
getClassTag in interface XmlNodegetClassTag in class AbstractNodepublic java.util.List<SectionPart> getChildren()
ControlObject
getChildren in class ControlObjectpublic java.lang.String getTitle()
setTitle(java.lang.String)public void setTitle(java.lang.String title)
title - new value of title attributegetTitle()public java.lang.Boolean getVisible()
setVisible(java.lang.Boolean)public void setVisible(java.lang.Boolean visible)
visible - new value of visible attributegetVisible()public java.lang.Boolean getKeepTogether()
setKeepTogether(java.lang.Boolean)public void setKeepTogether(java.lang.Boolean keepTogether)
keepTogether - new value of keepTogether attributegetKeepTogether()public Selection getSelection()
setSelection(org.qtitools.qti.node.test.Selection)public void setSelection(Selection selection)
selection - new selection childgetSelection()public Ordering getOrdering()
setOrdering(org.qtitools.qti.node.test.Ordering)public void setOrdering(Ordering ordering)
ordering - new ordering childgetOrdering()public java.util.List<RubricBlock> getRubricBlocks()
public java.util.List<SectionPart> getSectionParts()
public void initialize()
ControlObject
initialize in class ControlObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||