Class DefaultPersistentPropertyPath<T>

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.DefaultPersistentPropertyPath<T>
Type Parameters:
T - The property type
All Implemented Interfaces:
IExpression<T>, ISelection<T>, PersistentPropertyPath<T>, jakarta.persistence.criteria.Expression<T>, jakarta.persistence.criteria.Path<T>, jakarta.persistence.criteria.Selection<T>, jakarta.persistence.TupleElement<T>

@Internal public class DefaultPersistentPropertyPath<T> extends Object implements PersistentPropertyPath<T>
The abstract implementation of PersistentPropertyPath.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • DefaultPersistentPropertyPath

      public DefaultPersistentPropertyPath(PersistentProperty persistentProperty, List<Association> associations, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder)
    • DefaultPersistentPropertyPath

      public DefaultPersistentPropertyPath(PersistentPropertyPath propertyPath, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder)
  • Method Details

    • in

      public jakarta.persistence.criteria.Predicate in(Object... values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
      Specified by:
      in in interface IExpression<T>
    • in

      public jakarta.persistence.criteria.Predicate in(Collection<?> values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
      Specified by:
      in in interface IExpression<T>
    • in

      public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<?>... values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
      Specified by:
      in in interface IExpression<T>
    • in

      public jakarta.persistence.criteria.Predicate in(jakarta.persistence.criteria.Expression<Collection<?>> values)
      Specified by:
      in in interface jakarta.persistence.criteria.Expression<T>
      Specified by:
      in in interface IExpression<T>
    • getProperty

      public PersistentProperty getProperty()
      Specified by:
      getProperty in interface PersistentPropertyPath<T>
    • getAssociations

      public List<Association> getAssociations()
      Specified by:
      getAssociations in interface PersistentPropertyPath<T>
    • getPropertyPath

      public PersistentPropertyPath getPropertyPath()
      Specified by:
      getPropertyPath in interface PersistentPropertyPath<T>
    • getModel

      public jakarta.persistence.metamodel.Bindable<T> getModel()
      Specified by:
      getModel in interface jakarta.persistence.criteria.Path<T>
    • getParentPath

      public jakarta.persistence.criteria.Path<?> getParentPath()
      Specified by:
      getParentPath in interface jakarta.persistence.criteria.Path<T>
    • get

      public <E, C extends Collection<E>> jakarta.persistence.criteria.Expression<C> get(jakarta.persistence.metamodel.PluralAttribute<T,C,E> collection)
      Specified by:
      get in interface jakarta.persistence.criteria.Path<T>
    • get

      public <K, V, M extends Map<K, V>> jakarta.persistence.criteria.Expression<M> get(jakarta.persistence.metamodel.MapAttribute<T,K,V> map)
      Specified by:
      get in interface jakarta.persistence.criteria.Path<T>
    • get

      public <Y> jakarta.persistence.criteria.Path<Y> get(jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute)
      Specified by:
      get in interface jakarta.persistence.criteria.Path<T>
    • type

      public jakarta.persistence.criteria.Expression<Class<? extends T>> type()
      Specified by:
      type in interface jakarta.persistence.criteria.Path<T>
    • get

      public <Y> jakarta.persistence.criteria.Path<Y> get(String attributeName)
      Specified by:
      get in interface jakarta.persistence.criteria.Path<T>
    • getJavaType

      public Class<? extends T> getJavaType()
      Specified by:
      getJavaType in interface IExpression<T>
      Specified by:
      getJavaType in interface jakarta.persistence.TupleElement<T>
    • visitExpression

      public void visitExpression(ExpressionVisitor expressionVisitor)
      Description copied from interface: IExpression
      Visit the expression.
      Specified by:
      visitExpression in interface IExpression<T>
      Parameters:
      expressionVisitor - The expression visitor
    • toString

      public String toString()
      Overrides:
      toString in class Object