org.apache.cayenne.template.parser

## Class ASTMethod

- java.lang.Object
- - org.apache.cayenne.template.parser.SimpleNode
  - - org.apache.cayenne.template.parser.IdentifierNode
    - - org.apache.cayenne.template.parser.ASTMethod

- All Implemented Interfaces:
    Node

      public class ASTMethod
      extends IdentifierNode

  Since:
    4.1

- - ### Field Summary

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

      `children, id, parent`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ASTMethod(int id)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `evaluate(Context context)`
    `Object` | `evaluateAsObject(Context context, Object parentObject)` Evaluate method call to an Object

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

      `getIdentifier, setIdentifier`

    - ### 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

    - #### ASTMethod

          public ASTMethod(int id)

  - ### Method Detail

    - #### evaluateAsObject

          public Object evaluateAsObject(Context context,
                                         Object parentObject)

      Evaluate method call to an Object

    - #### evaluate

          public void evaluate(Context context)

Copyright © 2001–2021 Apache Cayenne. All rights reserved.