Package org.n52.svalbard.odata.core.expr
Class GeoValueExpr
java.lang.Object
org.n52.svalbard.odata.core.expr.GeoValueExpr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,X extends Throwable>
Taccept(ExprVisitor<T, X> visitor) Acceptsvisitorfor this expression.Get this expression as a geometry expressionbooleanGets the value.inthashCode()booleanCheck if this expression is a geometry expresion.toString()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
asArithmetic, asBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asMember, asMethodCall, asNumericValue, asTextValue, asTime, asUnary, isArithmetic, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isMember, isMethodCall, isNumericValue, isTextValue, isTime, isUnary
-
Constructor Details
-
GeoValueExpr
Creates a newValueExpr.- Parameters:
value- the value
-
-
Method Details
-
getGeometry
Gets the value.- Returns:
- the value
-
isGeometry
public boolean isGeometry()Description copied from interface:ExprCheck if this expression is a geometry expresion.- Specified by:
isGeometryin interfaceExpr- Returns:
- if it is a geometry expression
-
asGeometry
Description copied from interface:ExprGet this expression as a geometry expression- Specified by:
asGeometryin interfaceExpr- Returns:
- the expression or
Optional.empty()if the type does not match
-
toString
-
toODataString
- Specified by:
toODataStringin interfaceODataExpr
-
accept
Description copied from interface:ExprAcceptsvisitorfor this expression. -
hashCode
public int hashCode() -
equals
-