org.apache.olingo.odata2.api.uri.expression
Interface MethodExpression

All Superinterfaces:
CommonExpression, Visitable

public interface MethodExpression
extends CommonExpression

Represents a method expression in the expression tree

A method expression node is inserted in the expression tree for any valid OData method operator in MethodOperator (e.g. for "substringof", "concat", "year", ... )


Method Summary
 MethodOperator getMethod()
           
 int getParameterCount()
           
 List<CommonExpression> getParameters()
           
 
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.CommonExpression
getEdmType, getKind, getUriLiteral, setEdmType
 
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.Visitable
accept
 

Method Detail

getMethod

MethodOperator getMethod()
Returns:
Returns the method object that represents the used method
See Also:
MethodOperator

getParameterCount

int getParameterCount()
Returns:
Returns the number of provided method parameters

getParameters

List<CommonExpression> getParameters()
Returns:
Returns a ordered list of expressions defining the input parameters for the used method
See Also:
CommonExpression


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.