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.String
qualifiedName
Qualified name of the symbol.private static long
serialVersionUID
(package private) int
type
Type of symbol.(package private) java.lang.Class
valueType
Type 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.String
getQualifiedName()
int
getType()
java.lang.Class
getValueType()
void
setType(int type)
void
setValueType(java.lang.Class type)
java.lang.String
toString()
-
-
-
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:
getQualifiedName
in interfaceSymbol
-
getValueType
public java.lang.Class getValueType()
- Specified by:
getValueType
in interfaceSymbol
-
setValueType
public void setValueType(java.lang.Class type)
- Specified by:
setValueType
in interfaceSymbol
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-