Package org.n52.svalbard.odata.core.expr
Interface TextExpr
-
- All Known Subinterfaces:
DirectTextExpr
- All Known Implementing Classes:
MemberExpr,MethodCallExpr,StringValueExpr
public interface TextExpr extends Expr
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Optional<TextExpr>asTextValue()Get this expression as a string expressiondefault booleanisTextValue()Check 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, isUnary
-
Methods inherited from interface org.n52.shetland.oasis.odata.ODataExpr
toODataString
-
-
-
-
Method Detail
-
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
default Optional<TextExpr> 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
-
-