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

## Interface UnaryExpression

- All Superinterfaces:
    CommonExpression, Visitable

      public interface UnaryExpression
      extends CommonExpression

  Represents a unary expression node in the expression tree

  A unary expression node is inserted in the expression tree for any valid ODATA unary operator in `UnaryOperator` (e.g. for "not or "-" )

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CommonExpression` | `getOperand()`
    `UnaryOperator` | `getOperator()`

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

    - #### getOperator

          UnaryOperator getOperator()

      Returns:
        Returns the operator object that represents the used operator
      See Also:
        `UnaryOperator`

    - #### getOperand

          CommonExpression getOperand()

      Returns:
        Returns the expression node of the operand of the unary operator
      See Also:
        `CommonExpression`

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