Class AbstractPersistentPropertyPath<T>

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.AbstractPersistentPropertyPath<T>
Type Parameters:
T - The property type
All Implemented Interfaces:
IExpression<T>, SelectionVisitable, 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 abstract class AbstractPersistentPropertyPath<T> extends Object implements PersistentPropertyPath<T>, SelectionVisitable
The abstract implementation of PersistentPropertyPath.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

  • Method Details

    • accept

      public void accept(SelectionVisitor selectionVisitor)
      Specified by:
      accept in interface SelectionVisitable
    • getProperty

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

      public List<Association> getAssociations()
      Specified by:
      getAssociations 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 jakarta.persistence.TupleElement<T>
    • toString

      public String toString()
      Overrides:
      toString in class Object