Top Description Methods
org.hibernate.query.criteria.internal

public Interface PathImplementor<X>

extends ExpressionImplementor<X>, Path<X>, PathSource<X>, Renderable
Known Direct Subinterfaces
org.hibernate.query.criteria.internal.FromImplementor
Known Direct Implementers
org.hibernate.query.criteria.internal.path.AbstractPathImpl, org.hibernate.query.criteria.internal.path.MapKeyHelpers.MapKeyPath, org.hibernate.query.criteria.internal.path.MapKeyHelpers.MapKeySource
Imports
javax.persistence.criteria.Path, javax.persistence.metamodel.Attribute

Implementation contract for the JPA Path interface.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Attribute<?, ?>

Returns:

The metamodel attribute.
getAttribute
()

Retrieve reference to the attribute this path represents.

public <
The parameterized type representation of treatAsType.
T extends X
>
PathImplementor<T>

Returns:

The properly typed view of this path.
treatAs
(Class<T>
The type to treat the path as.
treatAsType
)

Defines handling for the JPA 2.1 TREAT down-casting feature.

Inherited from javax.persistence.criteria.Path:
getgetgetgetgetModelgetParentPathtype
Inherited from org.hibernate.query.criteria.internal.ExpressionImplementor:
asBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasString
Inherited from org.hibernate.query.criteria.internal.PathSource:
getPathIdentifierprepareAlias
Inherited from org.hibernate.query.criteria.internal.Renderable:
render

Method Detail

getAttributeback to summary
public Attribute<?, ?> getAttribute()

Retrieve reference to the attribute this path represents.

Returns:Attribute<?, ?>

The metamodel attribute.

treatAsback to summary
public <T extends X> PathImplementor<T> treatAs(Class<T> treatAsType)

Defines handling for the JPA 2.1 TREAT down-casting feature.

Parameters
<T>
The parameterized type representation of treatAsType.
treatAsType:Class<T>

The type to treat the path as.

Returns:PathImplementor<T>

The properly typed view of this path.