Class PropertySymbol
- java.lang.Object
-
- org.datanucleus.store.query.compiler.PropertySymbol
-
- All Implemented Interfaces:
java.io.Serializable,Symbol
public class PropertySymbol extends java.lang.Object implements Symbol, java.io.Serializable
Symbol representing a property/identifier in a query. This can be an identifier, or a parameter for example.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.StringqualifiedNameQualified name of the symbol.private static longserialVersionUID(package private) inttypeType of symbol.(package private) java.lang.ClassvalueTypeType of the value.-
Fields inherited from interface org.datanucleus.store.query.compiler.Symbol
IDENTIFIER, PARAMETER, VARIABLE
-
-
Constructor Summary
Constructors Constructor Description PropertySymbol(java.lang.String qualifiedName)PropertySymbol(java.lang.String qualifiedName, java.lang.Class type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetQualifiedName()intgetType()java.lang.ClassgetValueType()voidsetType(int type)voidsetValueType(java.lang.Class type)java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
type
int type
Type of symbol. Variable, parameter, etc.
-
qualifiedName
final java.lang.String qualifiedName
Qualified name of the symbol.
-
valueType
java.lang.Class valueType
Type of the value. Useful where we don't know the value yet, but know the type.
-
-
Method Detail
-
getQualifiedName
public java.lang.String getQualifiedName()
- Specified by:
getQualifiedNamein interfaceSymbol
-
getValueType
public java.lang.Class getValueType()
- Specified by:
getValueTypein interfaceSymbol
-
setValueType
public void setValueType(java.lang.Class type)
- Specified by:
setValueTypein interfaceSymbol
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-