org.qtitools.qti.node.expression.outcome
Class OutcomeMinMax
java.lang.Object
org.qtitools.qti.node.AbstractNode
org.qtitools.qti.node.AbstractObject
org.qtitools.qti.node.expression.AbstractExpression
org.qtitools.qti.node.expression.outcome.ItemSubset
org.qtitools.qti.node.expression.outcome.OutcomeMinMax
- All Implemented Interfaces:
- java.io.Serializable, Expression, ExpressionParent, XmlNode, XmlObject, Validatable
- Direct Known Subclasses:
- OutcomeMaximum, OutcomeMinimum
public abstract class OutcomeMinMax
- extends ItemSubset
Super class for outcomeMaximum and outcomeMinimum expressions.
Defines all attributes, because they are same for both child expressions.
- Author:
- Jiri Kajaba
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getOutcomeIdentifier()
Gets value of outcomeIdentifier attribute. |
java.lang.String |
getWeightIdentifier()
Gets value of weightIdentifier attribute. |
void |
setOutcomeIdentifier(java.lang.String outcomeIdentifier)
Sets new value of outcomeIdentifier attribute. |
void |
setWeightIdentifier(java.lang.String weightIdentifier)
Sets new value of weightIdentifier attribute. |
| Methods inherited from class org.qtitools.qti.node.expression.AbstractExpression |
evaluate, evaluateSelf, getBaseType, getCardinality, getChildren, getFirstChild, getParent, getParentRequiredBaseTypes, getParentRequiredCardinalities, getProducedBaseTypes, getProducedCardinalities, getProducedNumericalBaseTypes, getRequiredBaseTypes, getRequiredCardinalities, getRequiredSameBaseTypes, getRequiredSameCardinalities, getSecondChild, getType, getValue, isAnyChildNull, isNull, reset, toString |
| Methods inherited from class org.qtitools.qti.node.AbstractNode |
attrToXmlString, bodyToXmlString, getAttributes, getClassTag, 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, validateChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.qtitools.qti.node.XmlNode |
getAttributes, getClassTag, getFullName, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString |
ATTR_OUTCOME_IDENTIFIER_NAME
public static final java.lang.String ATTR_OUTCOME_IDENTIFIER_NAME
- Name of outcomeIdentifier attribute in xml schema.
- See Also:
- Constant Field Values
ATTR_WEIGHT_IDENTIFIER_NAME
public static final java.lang.String ATTR_WEIGHT_IDENTIFIER_NAME
- Name of weightIdentifier attribute in xml schema.
- See Also:
- Constant Field Values
ATTR_WEIGHT_IDENTIFIER_DEFAULT_VALUE
public static final java.lang.String ATTR_WEIGHT_IDENTIFIER_DEFAULT_VALUE
- Default value of weightIdentifier attribute.
OutcomeMinMax
public OutcomeMinMax(ExpressionParent parent)
- Constructs expression.
- Parameters:
parent - parent of this expression
getOutcomeIdentifier
public java.lang.String getOutcomeIdentifier()
- Gets value of outcomeIdentifier attribute.
- Returns:
- value of outcomeIdentifier attribute
- See Also:
setOutcomeIdentifier(java.lang.String)
setOutcomeIdentifier
public void setOutcomeIdentifier(java.lang.String outcomeIdentifier)
- Sets new value of outcomeIdentifier attribute.
- Parameters:
outcomeIdentifier - new value of outcomeIdentifier attribute- See Also:
getOutcomeIdentifier()
getWeightIdentifier
public java.lang.String getWeightIdentifier()
- Gets value of weightIdentifier attribute.
- Returns:
- value of weightIdentifier attribute
- See Also:
setWeightIdentifier(java.lang.String)
setWeightIdentifier
public void setWeightIdentifier(java.lang.String weightIdentifier)
- Sets new value of weightIdentifier attribute.
- Parameters:
weightIdentifier - new value of weightIdentifier attribute- See Also:
getWeightIdentifier()
Copyright © 2009. All Rights Reserved.