Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertySymbol​(java.lang.String qualifiedName)  
      PropertySymbol​(java.lang.String qualifiedName, java.lang.Class type)  
    • Field Detail

      • 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.
    • 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