org.objectweb.jonas_ejb.lib
Class EjbqlAbstractVisitor.IdValue

java.lang.Object
  extended by org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor.IdValue
Enclosing class:
EjbqlAbstractVisitor

protected class EjbqlAbstractVisitor.IdValue
extends java.lang.Object

Values associated with each declared identifiers


Constructor Summary
EjbqlAbstractVisitor.IdValue()
          Default constructor
EjbqlAbstractVisitor.IdValue(java.lang.String pathName)
          Create an IdVAlue for the given path
 
Method Summary
 void addPath(java.lang.String path)
          add a path (if it's not already declared)
 int getDeclaredPathLength()
           
 java.lang.String getMergedPath(int idx)
           
 java.lang.String[] getName()
           
 org.objectweb.medor.query.api.QueryTree getQueryTree()
           
 java.lang.String[] getSplitedPath(int idx)
           
 void setName(java.lang.String[] name)
           
 void setQueryTree(org.objectweb.medor.query.api.QueryTree qt)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbqlAbstractVisitor.IdValue

public EjbqlAbstractVisitor.IdValue(java.lang.String pathName)
Create an IdVAlue for the given path

Parameters:
pathName - an abstract schema name or collection values path

EjbqlAbstractVisitor.IdValue

public EjbqlAbstractVisitor.IdValue()
Default constructor

Method Detail

getName

public java.lang.String[] getName()
Returns:
the name

setName

public void setName(java.lang.String[] name)
Parameters:
name - the abstract schema name or collection values path

addPath

public void addPath(java.lang.String path)
add a path (if it's not already declared)

Parameters:
path - the path to add

getSplitedPath

public java.lang.String[] getSplitedPath(int idx)
Parameters:
idx - index of the path
Returns:
return the splited path of the specified position

getMergedPath

public java.lang.String getMergedPath(int idx)
Parameters:
idx - index of the path
Returns:
return the merged path of the specified position

getDeclaredPathLength

public int getDeclaredPathLength()
Returns:
the number of declared path

getQueryTree

public org.objectweb.medor.query.api.QueryTree getQueryTree()
Returns:
the associated QueryTree

setQueryTree

public void setQueryTree(org.objectweb.medor.query.api.QueryTree qt)
Parameters:
qt - QueryTree

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a string representation for debug