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
-
Field Summary
Fields inherited from interface io.micronaut.data.model.jpa.criteria.ExpressionType
BOOLEAN, OBJECT
-
Constructor Summary
ConstructorDescriptionClassElementExpressionType
(@NonNull io.micronaut.inject.ast.ClassElement type) -
Method Summary
-
Constructor Details
-
ClassElementExpressionType
public ClassElementExpressionType(@NonNull @NonNull io.micronaut.inject.ast.ClassElement type)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceExpressionType<T>
- Returns:
- The type name
-
isBoolean
public boolean isBoolean()- Specified by:
isBoolean
in interfaceExpressionType<T>
- Returns:
- true if the expression is of boolean type
-
isNumeric
public boolean isNumeric()- Specified by:
isNumeric
in interfaceExpressionType<T>
- Returns:
- true if the expression is of numeric type
-
isComparable
public boolean isComparable()- Specified by:
isComparable
in interfaceExpressionType<T>
- Returns:
- true if the expression is of comparable type
-
isTextual
public boolean isTextual()- Specified by:
isTextual
in interfaceExpressionType<T>
- Returns:
- true if the expression is of string type
-
getJavaType
- Specified by:
getJavaType
in interfaceExpressionType<T>
- Returns:
- The Java type
-