org.qtitools.qti.node.expression.outcome
Class OutcomeMinMax

java.lang.Object
  extended by org.qtitools.qti.node.AbstractNode
      extended by org.qtitools.qti.node.AbstractObject
          extended by org.qtitools.qti.node.expression.AbstractExpression
              extended by org.qtitools.qti.node.expression.outcome.ItemSubset
                  extended by 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

Field Summary
static java.lang.String ATTR_OUTCOME_IDENTIFIER_NAME
          Name of outcomeIdentifier attribute in xml schema.
static java.lang.String ATTR_WEIGHT_IDENTIFIER_DEFAULT_VALUE
          Default value of weightIdentifier attribute.
static java.lang.String ATTR_WEIGHT_IDENTIFIER_NAME
          Name of weightIdentifier attribute in xml schema.
 
Fields inherited from class org.qtitools.qti.node.expression.outcome.ItemSubset
ATTR_EXCLUDE_CATEGORIES_DEFAULT_VALUE, ATTR_EXCLUDE_CATEGORIES_NAME, ATTR_IDENTIFIER_DEFAULT_VALUE, ATTR_IDENTIFIER_NAME, ATTR_INCLUDE_CATEGORIES_DEFAULT_VALUE, ATTR_INCLUDE_CATEGORIES_NAME
 
Fields inherited from class org.qtitools.qti.node.expression.AbstractExpression
logger
 
Fields inherited from interface org.qtitools.qti.node.expression.Expression
DISPLAY_NAME
 
Fields inherited from interface org.qtitools.qti.node.XmlNode
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR
 
Constructor Summary
OutcomeMinMax(ExpressionParent parent)
          Constructs expression.
 
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.outcome.ItemSubset
getExcludeCategories, getIdentifier, getIncludeCategories, isVariable, lookupItemRefs, setIdentifier, validate, validateAttributes
 
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.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, 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.XmlObject
getParentItem, getParentResult, getParentTest, setParent
 
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
 

Field Detail

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.

Constructor Detail

OutcomeMinMax

public OutcomeMinMax(ExpressionParent parent)
Constructs expression.

Parameters:
parent - parent of this expression
Method Detail

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.