org.hibernate.ejb.criteria
Interface PathSource<X>

All Superinterfaces:
javax.persistence.criteria.Expression<X>, javax.persistence.criteria.Path<X>, javax.persistence.criteria.Selection<X>, TupleElement<X>
All Known Subinterfaces:
CollectionJoinImplementor<Z,X>, FromImplementor<Z,X>, JoinImplementor<Z,X>, ListJoinImplementor<Z,X>, MapJoinImplementor<Z,K,V>, PathImplementor<X>, SetJoinImplementor<Z,X>
All Known Implementing Classes:
AbstractFromImpl, AbstractJoinImpl, AbstractPathImpl, CollectionAttributeJoin, ListAttributeJoin, MapAttributeJoin, MapKeyHelpers.MapKeyPath, MapKeyHelpers.MapKeySource, PluralAttributeJoinSupport, PluralAttributePath, RootImpl, SetAttributeJoin, SingularAttributeJoin, SingularAttributePath

public interface PathSource<X>
extends javax.persistence.criteria.Path<X>

Implementation contract for things which can be the source (parent, left-hand-side, etc) of a path

Author:
Steve Ebersole

Method Summary
 String getPathIdentifier()
          Get the string representation of this path as a navigation from one of the queries identification variables
 void prepareAlias(CriteriaQueryCompiler.RenderingContext renderingContext)
           
 
Methods inherited from interface javax.persistence.criteria.Path
get, get, get, get, getModel, getParentPath, type
 
Methods inherited from interface javax.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
 
Methods inherited from interface javax.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 

Method Detail

prepareAlias

void prepareAlias(CriteriaQueryCompiler.RenderingContext renderingContext)

getPathIdentifier

String getPathIdentifier()
Get the string representation of this path as a navigation from one of the queries identification variables

Returns:
The path's identifier.


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.