org.apache.jdo.jdoql.tree
Interface MethodCallExpression

All Superinterfaces:
Expression, Node, java.io.Serializable
All Known Subinterfaces:
ContainsCallExpression, EndsWithCallExpression, IsEmptyCallExpression, StartsWithCallExpression
All Known Implementing Classes:
ContainsCallExpr, EndsWithCallExpr, IsEmptyCallExpr, MethodCallExpr, StartsWithCallExpr

public interface MethodCallExpression
extends Expression

This node represents a method call expression. Examples of method call expressions are ContainsCallExpression, IsEmptyCallExpression, EndsWithCallExpression and StartsWithCallExpression.

Author:
Michael Watzek

Method Summary
 Expression[] getArguments()
          Returns the argument array of this method call.
 java.lang.String getMethodName()
          Returns the method name.
 Expression getTarget()
          Returns the target expression of this method call.
 
Methods inherited from interface org.apache.jdo.jdoql.tree.Node
arrive, getChildren, getJavaClass, getObject, getParent, getTokenType, leave, setObject, setParent, walkNextChild
 

Method Detail

getTarget

Expression getTarget()
Returns the target expression of this method call. The target expression can be an instance of ThisExpression or an instance of an arbitrary other Expression, e.g. FieldAccessExpression.

Returns:
the target expression

getMethodName

java.lang.String getMethodName()
Returns the method name.

Returns:
the method name

getArguments

Expression[] getArguments()
Returns the argument array of this method call.

Returns:
the argument array


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.