Class UnaryExpressionImpl
- java.lang.Object
-
- org.apache.olingo.odata2.core.uri.expression.UnaryExpressionImpl
-
- All Implemented Interfaces:
CommonExpression,UnaryExpression,Visitable
public class UnaryExpressionImpl extends Object implements UnaryExpression
-
-
Constructor Summary
Constructors Constructor Description UnaryExpressionImpl(org.apache.olingo.odata2.core.uri.expression.InfoUnaryOperator operatorInfo, CommonExpression operand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(ExpressionVisitor visitor)EdmTypegetEdmType()ExpressionKindgetKind()CommonExpressiongetOperand()UnaryOperatorgetOperator()StringgetUriLiteral()CommonExpressionsetEdmType(EdmType edmType)
-
-
-
Constructor Detail
-
UnaryExpressionImpl
public UnaryExpressionImpl(org.apache.olingo.odata2.core.uri.expression.InfoUnaryOperator operatorInfo, CommonExpression operand)
-
-
Method Detail
-
getKind
public ExpressionKind getKind()
- Specified by:
getKindin interfaceCommonExpression
-
getOperator
public UnaryOperator getOperator()
- Specified by:
getOperatorin interfaceUnaryExpression
-
getOperand
public CommonExpression getOperand()
- Specified by:
getOperandin interfaceUnaryExpression
-
getEdmType
public EdmType getEdmType()
- Specified by:
getEdmTypein interfaceCommonExpression
-
setEdmType
public CommonExpression setEdmType(EdmType edmType)
- Specified by:
setEdmTypein interfaceCommonExpression
-
getUriLiteral
public String getUriLiteral()
- Specified by:
getUriLiteralin interfaceCommonExpression
-
accept
public Object accept(ExpressionVisitor visitor) throws ExceptionVisitExpression, ODataApplicationException
- Specified by:
acceptin interfaceVisitable- Throws:
ExceptionVisitExpressionODataApplicationException
-
-