Package org.apache.cayenne.template.parser

## Class ASTBoolScalar

- java.lang.Object
- - org.apache.cayenne.template.parser.SimpleNode
  - - org.apache.cayenne.template.parser.ScalarNode<Boolean>
    - - org.apache.cayenne.template.parser.ASTBoolScalar

- All Implemented Interfaces:
    `ExpressionNode`, `Node`

      public class ASTBoolScalar
      extends ScalarNode<Boolean>

  Since:
    4.1

- - ### Field Summary

    - ### Fields inherited from class org.apache.cayenne.template.parser.SimpleNode

      `children, id, parent`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ASTBoolScalar​(int id)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `evaluateAsBoolean​(Context context)` |

    - ### Methods inherited from class org.apache.cayenne.template.parser.ScalarNode

      `evaluate, evaluateAsDouble, evaluateAsLong, evaluateAsObject, evaluateAsString, getValue, setValue`

    - ### Methods inherited from class org.apache.cayenne.template.parser.SimpleNode

      `dump, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, toString, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ASTBoolScalar

          public ASTBoolScalar​(int id)

  - ### Method Detail

    - #### evaluateAsBoolean

          public boolean evaluateAsBoolean​(Context context)

      Specified by:
        `evaluateAsBoolean` in interface `ExpressionNode`
      Overrides:
        `evaluateAsBoolean` in class `ScalarNode<Boolean>`