Class JDOBoolean

java.lang.Object
net.ontopia.persistence.query.jdo.JDOBoolean
All Implemented Interfaces:
JDOExpressionIF

public class JDOBoolean extends Object implements JDOExpressionIF
INTERNAL: JDOQL boolean expression value: true or false.
  • Field Details

    • TRUE

      public static final JDOBoolean TRUE
    • FALSE

      public static final JDOBoolean FALSE
    • value

      protected boolean value
  • Constructor Details

    • JDOBoolean

      public JDOBoolean(boolean value)
  • Method Details

    • getType

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

      public boolean getValue()
    • 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: JDOExpressionIF
      INTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.
      Specified by:
      visit in interface JDOExpressionIF