Interface TextExpr

All Superinterfaces:
Expr, ODataExpr
All Known Subinterfaces:
DirectTextExpr
All Known Implementing Classes:
MemberExpr, MethodCallExpr, StringValueExpr

public interface TextExpr extends Expr
  • Method Details

    • isTextValue

      default boolean isTextValue()
      Description copied from interface: Expr
      Check if this expression is a string expression.
      Specified by:
      isTextValue in interface Expr
      Returns:
      if it is a value
    • asTextValue

      default Optional<TextExpr> asTextValue()
      Description copied from interface: Expr
      Get this expression as a string expression
      Specified by:
      asTextValue in interface Expr
      Returns:
      the expression or Optional.empty() if the type does not match