Class JDOVariable

java.lang.Object
net.ontopia.persistence.query.jdo.JDOVariable
All Implemented Interfaces:
JDOValueIF

public class JDOVariable extends Object implements JDOValueIF
INTERNAL: JDOQL value: variable. Class used to reference variables by name. Syntax: 'VARIABLE'.
  • Field Details

    • name

      protected String name
  • Constructor Details

    • JDOVariable

      public JDOVariable(String name)
  • Method Details

    • getType

      public int getType()
      Description copied from interface: JDOValueIF
      INTERNAL: Returns the type of JDO value indicated by one of the constants in the JDOValueIF interface.
      Specified by:
      getType in interface JDOValueIF
    • getName

      public String getName()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • visit

      public void visit(JDOVisitorIF visitor)
      Description copied from interface: JDOValueIF
      INTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.
      Specified by:
      visit in interface JDOValueIF