Class MethodExpressionImpl
- java.lang.Object
-
- org.apache.olingo.odata2.core.uri.expression.MethodExpressionImpl
-
- All Implemented Interfaces:
CommonExpression,MethodExpression,Visitable
public class MethodExpressionImpl extends Object implements MethodExpression
-
-
Constructor Summary
Constructors Constructor Description MethodExpressionImpl(org.apache.olingo.odata2.core.uri.expression.InfoMethod infoMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(ExpressionVisitor visitor)MethodExpressionImplappendParameter(CommonExpression expression)EdmTypegetEdmType()ExpressionKindgetKind()MethodOperatorgetMethod()org.apache.olingo.odata2.core.uri.expression.InfoMethodgetMethodInfo()intgetParameterCount()List<CommonExpression>getParameters()StringgetUriLiteral()CommonExpressionsetEdmType(EdmType edmType)
-
-
-
Method Detail
-
getEdmType
public EdmType getEdmType()
- Specified by:
getEdmTypein interfaceCommonExpression
-
setEdmType
public CommonExpression setEdmType(EdmType edmType)
- Specified by:
setEdmTypein interfaceCommonExpression
-
getMethod
public MethodOperator getMethod()
- Specified by:
getMethodin interfaceMethodExpression
-
getMethodInfo
public org.apache.olingo.odata2.core.uri.expression.InfoMethod getMethodInfo()
-
getParameters
public List<CommonExpression> getParameters()
- Specified by:
getParametersin interfaceMethodExpression
-
getParameterCount
public int getParameterCount()
- Specified by:
getParameterCountin interfaceMethodExpression
-
appendParameter
public MethodExpressionImpl appendParameter(CommonExpression expression)
- Parameters:
expression- Expressão- Returns:
- A self reference for method chaining"
-
getKind
public ExpressionKind getKind()
- Specified by:
getKindin interfaceCommonExpression
-
getUriLiteral
public String getUriLiteral()
- Specified by:
getUriLiteralin interfaceCommonExpression
-
accept
public Object accept(ExpressionVisitor visitor) throws ExceptionVisitExpression, ODataApplicationException
- Specified by:
acceptin interfaceVisitable- Throws:
ExceptionVisitExpressionODataApplicationException
-
-