Package org.n52.svalbard.odata.core.expr
Class UnaryExpr<T>
java.lang.Object
org.n52.svalbard.odata.core.expr.UnaryExpr<T>
- Type Parameters:
T- the operator type
- Direct Known Subclasses:
BooleanUnaryExpr
Class to represent a unary expression.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.n52.svalbard.odata.core.expr.Expr
accept, asArithmetic, asBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTextValue, asTime, isArithmetic, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTextValue, isTime, isUnary
-
Constructor Details
-
UnaryExpr
Create a newUnaryExpr.- Parameters:
operator- the operatoroperand- the operand
-
-
Method Details
-
getOperator
Get the operator.- Returns:
- the operator
-
getOperand
Get the operand- Returns:
- the operand
-
asUnary
Description copied from interface:ExprGet this expression as a unary expression -
toString
-
toODataString
- Specified by:
toODataStringin interfaceODataExpr
-
hashCode
public int hashCode() -
equals
-