org.datanucleus.query.symbol
Class PropertySymbol

java.lang.Object
  extended by org.datanucleus.query.symbol.PropertySymbol
All Implemented Interfaces:
Symbol

public class PropertySymbol
extends java.lang.Object
implements Symbol

Symbol representing a property/identifier in a query. This can be an identifier, or a parameter for example.


Field Summary
 
Fields inherited from interface org.datanucleus.query.symbol.Symbol
IDENTIFIER, PARAMETER, VARIABLE
 
Constructor Summary
PropertySymbol(java.lang.String qualifiedName)
           
PropertySymbol(java.lang.String qualifiedName, java.lang.Class type)
           
 
Method Summary
 java.lang.String getQualifiedName()
           
 int getType()
           
 java.lang.Class getValueType()
           
 void setType(int type)
           
 void setValueType(java.lang.Class type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertySymbol

public PropertySymbol(java.lang.String qualifiedName)

PropertySymbol

public PropertySymbol(java.lang.String qualifiedName,
                      java.lang.Class type)
Method Detail

setType

public void setType(int type)
Specified by:
setType in interface Symbol

getType

public int getType()
Specified by:
getType in interface Symbol

getQualifiedName

public java.lang.String getQualifiedName()
Specified by:
getQualifiedName in interface Symbol

getValueType

public java.lang.Class getValueType()
Specified by:
getValueType in interface Symbol

setValueType

public void setValueType(java.lang.Class type)
Specified by:
setValueType in interface Symbol

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.