Class PropertySymbol
java.lang.Object
org.datanucleus.store.query.compiler.PropertySymbol
- All Implemented Interfaces:
Serializable
,Symbol
Symbol representing a property/identifier in a query.
This can be an identifier, or a parameter for example.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final String
Qualified name of the symbol.private static final long
(package private) int
Type of symbol.(package private) Class
Type of the value.Fields inherited from interface org.datanucleus.store.query.compiler.Symbol
IDENTIFIER, PARAMETER, VARIABLE
-
Constructor Summary
ConstructorsConstructorDescriptionPropertySymbol
(String qualifiedName) PropertySymbol
(String qualifiedName, Class type) -
Method Summary
Modifier and TypeMethodDescriptionint
getType()
void
setType
(int type) void
setValueType
(Class type) toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
int typeType of symbol. Variable, parameter, etc. -
qualifiedName
Qualified name of the symbol. -
valueType
Class valueTypeType of the value. Useful where we don't know the value yet, but know the type.
-
-
Constructor Details
-
PropertySymbol
-
PropertySymbol
-
-
Method Details
-
setType
public void setType(int type) -
getType
public int getType() -
getQualifiedName
- Specified by:
getQualifiedName
in interfaceSymbol
-
getValueType
- Specified by:
getValueType
in interfaceSymbol
-
setValueType
- Specified by:
setValueType
in interfaceSymbol
-
toString
-