Class PathImpl<Z,​X>

  • Type Parameters:
    X - Type referenced by the path
    All Implemented Interfaces:
    Serializable, javax.persistence.criteria.Expression<X>, javax.persistence.criteria.Path<X>, javax.persistence.criteria.Selection<X>, javax.persistence.TupleElement<X>
    Direct Known Subclasses:
    FetchImpl, FromImpl, TreatPathImpl

    public class PathImpl<Z,​X>
    extends ExpressionImpl<X>
    implements javax.persistence.criteria.Path<X>
    Implementation of JPA Criteria "Path".
    See Also:
    Serialized Form
    • Method Detail

      • get

        public <K,​V,​M extends Map<K,​V>> javax.persistence.criteria.Expression<M> get​(javax.persistence.metamodel.MapAttribute<? super X,​K,​V> attr)
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
      • get

        public <E,​C extends Collection<E>> javax.persistence.criteria.Expression<C> get​(javax.persistence.metamodel.PluralAttribute<? super X,​C,​E> attr)
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
      • get

        public <Y> javax.persistence.criteria.Path<Y> get​(javax.persistence.metamodel.SingularAttribute<? super X,​Y> attr)
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
      • get

        public <Y> javax.persistence.criteria.Path<Y> get​(String attrName)
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
      • getType

        public javax.persistence.metamodel.Type<?> getType()
      • getModel

        public javax.persistence.metamodel.Bindable<X> getModel()
        Specified by:
        getModel in interface javax.persistence.criteria.Path<Z>
      • getParentPath

        public javax.persistence.criteria.Path<?> getParentPath()
        Specified by:
        getParentPath in interface javax.persistence.criteria.Path<Z>
      • type

        public javax.persistence.criteria.Expression<Class<? extends X>> type()
        Specified by:
        type in interface javax.persistence.criteria.Path<Z>
      • getQueryExpression

        public org.datanucleus.store.query.expression.Expression getQueryExpression()
        Accessor for the underlying DataNucleus expression for this path. Creates it if not yet existing.
        Overrides:
        getQueryExpression in class ExpressionImpl<X>
        Returns:
        The DataNucleus query expression
      • toString

        public String toString()
        Method to return the path as something suitable for use as JPQL single-string.
        Overrides:
        toString in class ExpressionImpl<X>
        Returns:
        The JPQL form