Uses of Class
org.problets.domain.model.expression.node.NodeModel

Packages that use NodeModel
org.problets.domain.model.expression   
org.problets.domain.model.expression.node   
org.problets.domain.model.expression.node.operand   
org.problets.domain.model.expression.node.operator   
org.problets.domain.model.expression.node.operator.arithmetic   
org.problets.domain.model.expression.node.operator.assignment   
org.problets.domain.model.expression.node.operator.bitwise   
org.problets.domain.model.expression.node.operator.logical   
org.problets.domain.model.expression.node.operator.misc   
org.problets.domain.model.expression.node.operator.pointer   
org.problets.domain.model.expression.node.operator.relational   
org.problets.domain.model.expression.step   
 

Uses of NodeModel in org.problets.domain.model.expression
 

Methods in org.problets.domain.model.expression that return NodeModel
 NodeModel Expression.getRoot()
           
 

Constructors in org.problets.domain.model.expression with parameters of type NodeModel
Expression(NodeModel inRoot)
          Creates an expression of the given pre-constructed tree - used by ParenthesizedStudentNodeView to create a copy of the expression within parentheses
 

Uses of NodeModel in org.problets.domain.model.expression.node
 

Methods in org.problets.domain.model.expression.node that return NodeModel
 NodeModel NodeModel.getLeftChild()
           
 NodeModel NodeView.getNode()
           
 NodeModel NodeModel.getRightChild()
           
 NodeModel NodeModel.getStudentCopy()
          Method returns a copy of this node with only shareable values, i.e., content and position resetting the others, i.e., left, right, value and order - Method used by StudentNodeModel to make a copy of the correct node for the student's answer
 

Methods in org.problets.domain.model.expression.node with parameters of type NodeModel
 boolean NodeModel.contentEquals(NodeModel right)
          Method returns true if this NodeModel's conntet is the same as the content of the right NodeModel, and false otherwise
 boolean NodeModel.contentEquals(NodeModel rightOp, int depth)
           
static NodeView NodeView.getNodeView(NodeModel node)
          Factory method to return the correct OperatorView
 void NodeModel.insertInOrder(NodeModel obj)
           
 void NodeModel.setLeftChild(NodeModel child)
          Method used by StudentNodeView to recreate student's answer's model
 void NodeModel.setRightChild(NodeModel child)
          Method used by StudentNodeView to recreate student's answer's model
 boolean NodeModel.valueEquals(NodeModel right)
          Method returns true if this NodeModel's value is the same as the value of the right NodeModel, and false otherwise
 

Constructors in org.problets.domain.model.expression.node with parameters of type NodeModel
NodeView(NodeModel inNode)
          This constructor will be called for the root of a complete expression tree.
 

Uses of NodeModel in org.problets.domain.model.expression.node.operand
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operand
 class FunctionCallOperand
          FunctionCallOperand To hold a function call operand
 class LiteralOperand
          LiteralOperand To hold a literal operand
 class Operand
          Operand To serve as the base class for LiteralOperand and VarOperand
 class VarOperand
          VarOperand To hold a variable operand
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator
 class Operator
          To hold one operator in the expression tree
 

Methods in org.problets.domain.model.expression.node.operator that return NodeModel
 NodeModel Operator.getStudentCopy()
          Method returns a copy of this node with only shareable values, resetting the others - Method used by StudentNodeModel to make a copy of the correct node for the student's answer
 

Methods in org.problets.domain.model.expression.node.operator with parameters of type NodeModel
 boolean Operator.contentEquals(NodeModel rightOp)
          Method overrides NodeModel's contentEquals - it considers the content of this node and its left and right child.
 boolean Operator.contentEquals(NodeModel rightOp, int depth)
          This will be called by contentEquals() and recursiveContentEquals() with appropriate values for depth
 boolean Operator.recursiveContentEquals(NodeModel rightOp)
          Recursively checks the contents of two trees - used by And/Or to compare bailed out right expressions.
 

Constructors in org.problets.domain.model.expression.node.operator with parameters of type NodeModel
OperatorView(NodeModel inOperator)
           
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator.arithmetic
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator.arithmetic
 class Addition
          To represent addition operator
 class Arithmetic
          To hold all constants specific to arithmetic operators
 class BaseModulus
          To serve as the base class for CModulus and JModulus operators
 class CModulus
          To represent modulus operator in C/C++
 class Division
          To represent division operator
 class Exponentiation
          To represent exponentiation operator - currently, since it caters to Visual Basic it changes the return value to CInt if the result is a whole number.
 class JModulus
          To represent modulus operator in Java/C#
 class Multiplication
          To represent multiplication operator
 class Subtraction
          To represent subtraction operator
 class VBModulus
          To represent modulus operator in VB
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator.assignment
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator.assignment
 class AddAssign
          To represent C++ += compound assignment operator
 class Assign
          To represent assignment operator
 class Assignment
          To hold all constants specific to assignment operators
 class BitAndAssign
          To represent C++ &= compound assignment operator
 class BitOrAssign
          To represent C++ |= compound assignment operator
 class BitXorAssign
          To represent C++ ^= compound assignment operator
 class CompoundAssignment
          To serve as the base class for all compound assignments
 class DivideAssign
          To represent C++ /= compound assignment operator
 class LeftShiftAssign
          To represent C++ <<= compound assignment operator
 class ModulusAssign
          To represent C++ %= compound assignment operator
 class MultiplyAssign
          To represent C++ *= compound assignment operator
 class PostfixAssignment
          Serves as the base class for postfix increment and decrement operators
 class PostfixDecrement
          Handles postfix decrement operator
 class PostfixIncrement
          Handles postfix increment operator
 class PrefixAssignment
          Serves as the base class for prefix increment and decrement operators
 class PrefixDecrement
          Handles prefix decrement operator
 class PrefixIncrement
          Handles prefix increment operator
 class RightShiftAssign
          To represent C++ >>= compound assignment operator
 class SubtractAssign
          To represent C++ -= compound assignment operator
 

Methods in org.problets.domain.model.expression.node.operator.assignment that return NodeModel
 NodeModel Assignment.getStudentCopy()
          Method returns a copy of this node with only shareable values, resetting the others - Method used by StudentNodeModel to make a copy of the correct node for the student's answer
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator.bitwise
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator.bitwise
 class BitAnd
          To represent bitwise and operator
 class BitComplement
          To represent bitwise 1's complement operator ~
 class BitOr
          To represent bitwise or operator
 class Bitwise
          To hold all constants specific to bitwise operators
 class JURightShift
          To represent bitwise Java unsigned right shift operator
 class LeftShift
          To represent bitwise left shift operator
 class RightShift
          To represent bitwise right shift operator
 class Xor
          To represent bitwise xor operator
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator.logical
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator.logical
 class And
          To represent and operator
 class Logical
          To hold all constants specific to arithmetic operators
 class Not
          To represent not operator
 class Or
          To represent or operator
 class ShortCircuitable
          Serves as the base class for && and || operators
 

Methods in org.problets.domain.model.expression.node.operator.logical with parameters of type NodeModel
 boolean ShortCircuitable.contentEquals(NodeModel rightOp)
          Method overrides Operator's contentEquals - it considers the content of this node and its left and right child
 

Constructors in org.problets.domain.model.expression.node.operator.logical with parameters of type NodeModel
AndView(NodeModel inOperator)
           
OrView(NodeModel inOperator)
           
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator.misc
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator.misc
 class Comma
          To represent C++ comma (,) operator
 class Parenthesis
          To represent the parenthesis operator
 

Methods in org.problets.domain.model.expression.node.operator.misc that return NodeModel
 NodeModel Parenthesis.getStudentCopy()
          Called by ParenthesizedStudentNodeView
 

Constructors in org.problets.domain.model.expression.node.operator.misc with parameters of type NodeModel
ParenthesisView(NodeModel inOperator)
           
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator.pointer
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator.pointer
 class Dereference
          To represent the dereferencing operator for pointers
 class Pointer
          To hold all constants specific to the two pointer operators
 

Uses of NodeModel in org.problets.domain.model.expression.node.operator.relational
 

Subclasses of NodeModel in org.problets.domain.model.expression.node.operator.relational
 class Equals
          To represent equal to operator
 class GreaterEquals
          To represent greater than or equal to operator
 class GreaterThan
          To represent greater than operator
 class LessEquals
          To represent less than or equal to operator
 class LessThan
          To represent less than operator
 class NotEquals
          To represent not equal to operator
 class Relational
          To hold all constants specific to relational operators
 class VBEquals
          To represent equal to operator in Visual Basic
 class VBNotEquals
          To represent not equal to operator in Visual Basic
 

Uses of NodeModel in org.problets.domain.model.expression.step
 

Methods in org.problets.domain.model.expression.step that return NodeModel
 NodeModel ExpressionViewStep.getNode()