Package org.n52.svalbard.odata.core.expr
Interface TextExpr
- All Known Subinterfaces:
DirectTextExpr
- All Known Implementing Classes:
MemberExpr,MethodCallExpr,StringValueExpr
-
Method Summary
Modifier and TypeMethodDescriptionGet this expression as a string expressiondefault booleanCheck if this expression is a string expression.Methods inherited from interface org.n52.svalbard.odata.core.expr.Expr
accept, asArithmetic, asBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTime, asUnary, isArithmetic, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTime, isUnaryMethods inherited from interface org.n52.shetland.oasis.odata.ODataExpr
toODataString
-
Method Details
-
isTextValue
default boolean isTextValue()Description copied from interface:ExprCheck if this expression is a string expression.- Specified by:
isTextValuein interfaceExpr- Returns:
- if it is a value
-
asTextValue
Description copied from interface:ExprGet this expression as a string expression- Specified by:
asTextValuein interfaceExpr- Returns:
- the expression or
Optional.empty()if the type does not match
-