Class ClassElementExpressionType<T>

java.lang.Object
io.micronaut.data.processor.model.criteria.impl.ClassElementExpressionType<T>
Type Parameters:
T - Teh type
All Implemented Interfaces:
ExpressionType<T>

@Internal public final class ClassElementExpressionType<T> extends Object implements ExpressionType<T>
The expression type represented by ClassElement.
Since:
4.10
Author:
Denis Stepanov
  • Constructor Details

    • ClassElementExpressionType

      public ClassElementExpressionType(@NonNull @NonNull io.micronaut.inject.ast.ClassElement type)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface ExpressionType<T>
      Returns:
      The type name
    • isBoolean

      public boolean isBoolean()
      Specified by:
      isBoolean in interface ExpressionType<T>
      Returns:
      true if the expression is of boolean type
    • isNumeric

      public boolean isNumeric()
      Specified by:
      isNumeric in interface ExpressionType<T>
      Returns:
      true if the expression is of numeric type
    • isComparable

      public boolean isComparable()
      Specified by:
      isComparable in interface ExpressionType<T>
      Returns:
      true if the expression is of comparable type
    • isTextual

      public boolean isTextual()
      Specified by:
      isTextual in interface ExpressionType<T>
      Returns:
      true if the expression is of string type
    • getJavaType

      public Class<T> getJavaType()
      Specified by:
      getJavaType in interface ExpressionType<T>
      Returns:
      The Java type