## Uses of Interface
javax.persistence.criteria.Path

- Packages that use Path
  Package | Description
  --- | ---
  javax.persistence.criteria | Java Persistence Criteria API

- - ### Uses of Path in javax.persistence.criteria

    Subinterfaces of Path in javax.persistence.criteria
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `CollectionJoin<Z,E>` The `CollectionJoin` interface is the type of the result of joining to a collection over an association or element collection that has been specified as a `java.util.Collection`.
    `interface` | `From<Z,X>` Represents a bound type, usually an entity that appears in the from clause, but may also be an embeddable belonging to an entity in the from clause.
    `interface` | `Join<Z,X>` A join to an entity, embeddable, or basic type.
    `interface` | `ListJoin<Z,E>` The `ListJoin` interface is the type of the result of joining to a collection over an association or element collection that has been specified as a `java.util.List`.
    `interface` | `MapJoin<Z,K,V>` The `MapJoin` interface is the type of the result of joining to a collection over an association or element collection that has been specified as a `java.util.Map`.
    `interface` | `PluralJoin<Z,C,E>` The `PluralJoin` interface defines functionality that is common to joins to all collection types.
    `interface` | `Root<X>` A root type in the from clause.
    `interface` | `SetJoin<Z,E>` The `SetJoin` interface is the type of the result of joining to a collection over an association or element collection that has been specified as a `java.util.Set`.

    Methods in javax.persistence.criteria that return Path
    Modifier and Type | Method and Description
    --- | ---
    `<Y> Path<Y>` | Path.`get(SingularAttribute<? super X,Y> attribute)` Create a path corresponding to the referenced single-valued attribute.
    `<Y> Path<Y>` | Path.`get(String attributeName)` Create a path corresponding to the referenced attribute.
    `Path<?>` | Path.`getParentPath()` Return the parent "node" in the path or null if no parent.
    `Path<K>` | MapJoin.`key()` Create a path expression that corresponds to the map key.
    `<X,T extends X> Path<T>` | CriteriaBuilder.`treat(Path<X> path, Class<T> type)` Downcast Path object to the specified type.
    `Path<V>` | MapJoin.`value()` Create a path expression that corresponds to the map value.

    Methods in javax.persistence.criteria with parameters of type Path
    Modifier and Type | Method and Description
    --- | ---
    `<Y> CriteriaUpdate<T>` | CriteriaUpdate.`set(Path<Y> attribute, Expression<? extends Y> value)` Update the value of the specified attribute.
    `<Y,X extends Y> CriteriaUpdate<T>` | CriteriaUpdate.`set(Path<Y> attribute, X value)` Update the value of the specified attribute.
    `<X,T extends X> Path<T>` | CriteriaBuilder.`treat(Path<X> path, Class<T> type)` Downcast Path object to the specified type.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.