Class IdExpression<E,T>
java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.expression.IdExpression<E,T>
- Type Parameters:
E
- The entity typeT
- The ID type
- All Implemented Interfaces:
IExpression<T>
,ISelection<T>
,jakarta.persistence.criteria.Expression<T>
,jakarta.persistence.criteria.Selection<T>
,jakarta.persistence.TupleElement<T>
The ID expression implementation.
- Since:
- 3.3
- Author:
- Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRoot()
boolean
boolean
boolean
toString()
void
visitExpression
(ExpressionVisitor expressionVisitor) Visit the expression.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in, in, in, in, isNotNull, isNull, visitSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
-
Constructor Details
-
IdExpression
-
-
Method Details
-
getRoot
-
isBoolean
public boolean isBoolean()- Specified by:
isBoolean
in interfaceIExpression<E>
- Returns:
- true if the expression is of boolean type
-
isNumeric
public boolean isNumeric()- Specified by:
isNumeric
in interfaceIExpression<E>
- Returns:
- true if the expression is of numeric type
-
isComparable
public boolean isComparable()- Specified by:
isComparable
in interfaceIExpression<E>
- Returns:
- true if the expression is of comparable type
-
getJavaType
- Specified by:
getJavaType
in interfacejakarta.persistence.TupleElement<E>
-
visitExpression
Description copied from interface:IExpression
Visit the expression.- Specified by:
visitExpression
in interfaceIExpression<E>
- Parameters:
expressionVisitor
- The expression visitor
-
toString
-