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. Alternatively can be a special case such as a candidate class, or a set of candidates.


Field Summary
 
Fields inherited from interface org.datanucleus.query.symbol.Symbol
CANDIDATES, IDENTIFIER, PARAMETER, RESULTS_SET, 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.Object getValue()
           
 java.lang.Class getValueType()
           
 void setType(int type)
           
 void setValue(java.lang.Object value)
           
 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

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface Symbol

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue 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 © 2009. All Rights Reserved.