org.objectweb.speedo.query.parser
Class SpeedoQLAbstractVisitor.IdValue

java.lang.Object
  extended byorg.objectweb.speedo.query.parser.SpeedoQLAbstractVisitor.IdValue
Enclosing class:
SpeedoQLAbstractVisitor

protected class SpeedoQLAbstractVisitor.IdValue
extends java.lang.Object

Values associated with each declared identifiers


Field Summary
 java.lang.String alias
           
 java.lang.String[] name
           
 int nameType
           
 org.objectweb.medor.query.api.QueryTree qt
           
 
Constructor Summary
SpeedoQLAbstractVisitor.IdValue()
           
SpeedoQLAbstractVisitor.IdValue(java.lang.String pathName)
           
SpeedoQLAbstractVisitor.IdValue(java.lang.String[] name, int nameType)
           
SpeedoQLAbstractVisitor.IdValue(java.lang.String pathName, int nameType)
           
 
Method Summary
 void addPath(java.lang.String path)
           
 int getDeclaredPathLength()
           
 java.lang.String getMergedPath(int idx)
           
 java.lang.String[] getSplitedPath(int idx)
           
 java.lang.String toString()
          this method returns the internal representation of an IdValue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String[] name

qt

public org.objectweb.medor.query.api.QueryTree qt

nameType

public int nameType

alias

public java.lang.String alias
Constructor Detail

SpeedoQLAbstractVisitor.IdValue

public SpeedoQLAbstractVisitor.IdValue(java.lang.String[] name,
                                       int nameType)

SpeedoQLAbstractVisitor.IdValue

public SpeedoQLAbstractVisitor.IdValue(java.lang.String pathName,
                                       int nameType)

SpeedoQLAbstractVisitor.IdValue

public SpeedoQLAbstractVisitor.IdValue(java.lang.String pathName)

SpeedoQLAbstractVisitor.IdValue

public SpeedoQLAbstractVisitor.IdValue()
Method Detail

addPath

public void addPath(java.lang.String path)

getSplitedPath

public java.lang.String[] getSplitedPath(int idx)

getMergedPath

public java.lang.String getMergedPath(int idx)

getDeclaredPathLength

public int getDeclaredPathLength()

toString

public java.lang.String toString()
this method returns the internal representation of an IdValue. this method is not optimized, because we don't need to call it a lot of times.