|
||||||||||
| 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
public abstract class AbstractPart
Abstract super class for test part and section part.
| Field Summary |
|---|
| 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 | |
|---|---|
AbstractPart(ControlObject parent)
Constructs part. |
|
| Method Summary | |
|---|---|
java.util.List<BranchRule> |
getBranchRules()
Gets branchRule children. |
abstract ItemSessionControl |
getItemSessionControl()
Gets itemSessionControl object for this part. |
ItemSessionControl |
getItemSessionControlNode()
Gets itemSessionControl child. |
TestPart |
getParentTestPart()
Gets parent test part of this part (returns itself if this part is instance of test part). |
java.util.List<PreCondition> |
getPreConditions()
Gets preCondition children. |
boolean |
isJumpSafeSource()
Returns true if it is safe to jump from this object; false otherwise. |
boolean |
isJumpSafeTarget()
Returns true if this object is safe target of jump; false otherwise. |
void |
setItemSessionControlNode(ItemSessionControl itemSessionControl)
Sets new itemSessionControl child. |
| Methods inherited from class org.qtitools.qti.node.test.ControlObject |
|---|
getChildren, getDuration, getFinishedCount, getGlobalIndex, getParent, getPresentedCount, getResponseTime, getTimeLimit, getTotalCount, getTotalTime, initialize, 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, getClassTag, 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, getClassTag, 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 |
| Constructor Detail |
|---|
public AbstractPart(ControlObject parent)
parent - parent of constructed part| Method Detail |
|---|
public TestPart getParentTestPart()
public java.util.List<PreCondition> getPreConditions()
public java.util.List<BranchRule> getBranchRules()
public ItemSessionControl getItemSessionControlNode()
setItemSessionControlNode(org.qtitools.qti.node.test.ItemSessionControl),
getItemSessionControl()public void setItemSessionControlNode(ItemSessionControl itemSessionControl)
itemSessionControl - new itemSessionControl childgetItemSessionControlNode()public abstract ItemSessionControl getItemSessionControl()
Use this method instead of getItemSessionControlNode, because returned object of this method contains
all fields (they are inherited from parent if they are not defined in this part).
public boolean isJumpSafeSource()
It is not safe to jump from shuffled not fixed object (or if any parent is shuffled and not fixed), because object could be moved after jump target (it is not allowed).
public boolean isJumpSafeTarget()
It is not save to jump on not required object in selection group (same for all its parents), because object could disappear (not be selected) and jump target is no longer valid.
It is not safe to jump on shuffled not fixed object (or if any parent is shuffled and not fixed), because object could be moved before jump source (it is not allowed).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||