Class IdExpression<E,​T>

  • Type Parameters:
    E - The entity type
    T - The ID type
    All Implemented Interfaces:
    IExpression<T>, SelectionVisitable, ISelection<T>, jakarta.persistence.criteria.Expression<T>, jakarta.persistence.criteria.Selection<T>, jakarta.persistence.TupleElement<T>

    @Internal
    public final class IdExpression<E,​T>
    extends java.lang.Object
    implements IExpression<T>, SelectionVisitable
    The ID expression implementation.
    Since:
    3.3
    • Method Detail

      • isBoolean

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

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

        public boolean isComparable()
        Specified by:
        isComparable in interface IExpression<E>
        Returns:
        true if the expression is of comparable type
      • getJavaType

        public java.lang.Class<? extends T> getJavaType()
        Specified by:
        getJavaType in interface jakarta.persistence.TupleElement<E>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object