|
||||||||||
| 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.outcome.declaration.LookupTableEntry
public abstract class LookupTableEntry
Abstract entry for lookupTable.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_TARGET_VALUE_NAME
Name of targetValue attribute in xml schema. |
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Constructor Summary | |
|---|---|
LookupTableEntry(LookupTable parent)
Creates object. |
|
| Method Summary | |
|---|---|
LookupTable |
getParent()
Gets parent of this node or null (if node is root; for example AssessmentTest). |
java.lang.String |
getSimpleName()
Gets simple name of this node. |
abstract java.lang.Number |
getSourceValue()
Gets numeric value of sourceValue attribute. |
SingleValue |
getTargetValue()
Gets value of targetValue attribute. |
void |
setTargetValue(SingleValue targetValue)
Sets new value of targetValue attribute. |
protected ValidationResult |
validateAttributes()
Validates attributes of this node. |
| 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 |
| Field Detail |
|---|
public static final java.lang.String ATTR_TARGET_VALUE_NAME
| Constructor Detail |
|---|
public LookupTableEntry(LookupTable parent)
parent - parent of this object| Method Detail |
|---|
public LookupTable getParent()
XmlNodeWhile testing some nodes (for example expressions) don't have properly set parent, but it is usable only for testing. (Some nodes cannot exists without parent even for testing).
getParent in interface XmlNodegetParent in interface XmlObjectgetParent in class AbstractObjectpublic java.lang.String getSimpleName()
XmlNodeSimple name is not so important like QTI class name. It servers mostly for displaying informations and in messages.
For example: simple name can be assessmentTest:Test (QTI class name (assessmentTest) + identifier (Test)).
getSimpleName in interface XmlNodegetSimpleName in class AbstractNodeXmlNode.getFullName()public abstract java.lang.Number getSourceValue()
public SingleValue getTargetValue()
setTargetValue(org.qtitools.qti.value.SingleValue)public void setTargetValue(SingleValue targetValue)
targetValue - new value of targetValue attributegetTargetValue()protected ValidationResult validateAttributes()
AbstractNode
validateAttributes in class AbstractNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||