org.datanucleus.query.node
Class ParameterNode

java.lang.Object
  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

ParameterNode

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

Parameters:
nodeType -
position - Position

ParameterNode

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

getPosition

public int getPosition()


Copyright © 2011. All Rights Reserved.