|
||||||||||
| 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.test.TimeLimit
public class TimeLimit
In the context of A specific assessmentTest an item, or group of items, may be subject to A time constraint. This specification supports both minimum and maximum time constraints. The controlled time for A single item is simply the duration of the item session as defined by the built-in response variable duration. For assessmentSections, testParts and whole assessmentTests the time limits relate to the durations of all the item sessions plus any other time spent navigating that part of the test. In other words, the time includes time spent in states where no item is being interacted with, such as dedicated navigation screens.
Minimum times are applicable to assessmentSections and assessmentItems only when linear navigation mode is in effect.
| Field Summary | |
|---|---|
static java.lang.Double |
ATTR_MAXIMUM_DEFAULT_VALUE
Default value of maxTime attribute. |
static java.lang.String |
ATTR_MAXIMUM_NAME
Name of maxTime attribute in xml schema. |
static java.lang.Double |
ATTR_MINIMUM_DEFAULT_VALUE
Default value of minTime attribute. |
static java.lang.String |
ATTR_MINIMUM_NAME
Name of minTime attribute in xml schema. |
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Constructor Summary | |
|---|---|
TimeLimit(ControlObject parent)
Creates object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getClassTag()
Gets QTI class name of this node. |
java.lang.Double |
getMaximum()
Gets value of maxTime attribute. |
java.lang.Long |
getMaximumMillis()
Gets value of maxTime attribute in millis. |
java.lang.Double |
getMinimum()
Gets value of minTime attribute. |
java.lang.Long |
getMinimumMillis()
Gets value of minTime attribute in millis or null. |
void |
setMaximum(java.lang.Double maximum)
Sets new value of maxTime attribute. |
void |
setMinimum(java.lang.Double minimum)
Sets new value of minTime attribute. |
protected ValidationResult |
validateAttributes()
Validates attributes of this node. |
| Methods inherited from class org.qtitools.qti.node.AbstractObject |
|---|
getParent, getParentItem, getParentResult, getParentTest, setParent |
| Methods inherited from class org.qtitools.qti.node.AbstractNode |
|---|
attrToXmlString, bodyToXmlString, getAttributes, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSimpleName, 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, getSimpleName, 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_MINIMUM_NAME
public static final java.lang.Double ATTR_MINIMUM_DEFAULT_VALUE
public static final java.lang.String ATTR_MAXIMUM_NAME
public static final java.lang.Double ATTR_MAXIMUM_DEFAULT_VALUE
| Constructor Detail |
|---|
public TimeLimit(ControlObject parent)
parent - parent of this object| 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.lang.Double getMinimum()
setMinimum(java.lang.Double)public java.lang.Long getMinimumMillis()
public void setMinimum(java.lang.Double minimum)
minimum - new value of minTime attributegetMinimum()public java.lang.Double getMaximum()
setMaximum(java.lang.Double)public java.lang.Long getMaximumMillis()
public void setMaximum(java.lang.Double maximum)
maximum - new value of maxTime attributegetMaximum()protected ValidationResult validateAttributes()
AbstractNode
validateAttributes in class AbstractNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||