Class ParameterNode

  extended by org.datanucleus.query.node.Node
      extended by org.datanucleus.query.node.ParameterNode

public class ParameterNode
extends Node

Node representing a parameter. This is sub-classed so that we can store the parameter position at compile.

Field Summary
Fields inherited from class org.datanucleus.query.node.Node
childNodes, nodeType, nodeValue, parent, properties, symbol
Constructor Summary
ParameterNode(NodeType nodeType, int position)
          Constructor for parameter node without a defined value.
ParameterNode(NodeType nodeType, java.lang.Object nodeValue, int position)
Method Summary
 int getPosition()
Methods inherited from class org.datanucleus.query.node.Node
addProperty, appendChildNode, appendChildNode, appendChildNode, getChildNode, getChildNodes, getFirstChild, getNextChild, getNodeChildId, getNodeId, getNodeType, getNodeValue, getParent, getProperties, getSymbol, hasNextChild, hasProperties, insertChildNode, insertChildNode, removeChildNode, setNodeValue, setParent, setPropertyAtPosition, setSymbol, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ParameterNode(NodeType nodeType,
                     int position)
Constructor for parameter node without a defined value.

nodeType -
position - Position


public ParameterNode(NodeType nodeType,
                     java.lang.Object nodeValue,
                     int position)
nodeType -
nodeValue -
position -
Method Detail


public int getPosition()

Copyright © 2011. All Rights Reserved.