EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference

javax.persistence.criteria
Interface Join<Z,X>

Type Parameters:
Z - The source type of the join
X - The target type of the join
All Superinterfaces:
Expression<X>, FetchParent<Z,X>, From<Z,X>, Path<X>, ResultItem<X>, Selection<X>
All Known Subinterfaces:
AbstractCollectionJoin<Z,C,E>, CollectionJoin<Z,E>, ListJoin<Z,E>, MapJoin<Z,K,V>, SetJoin<Z,E>

public interface Join<Z,X>
extends From<Z,X>

A join to an entity or embeddable type.


Method Summary
 JoinType getJoinType()
          Return the join type.
 Member<? extends Z,X> getMember()
          Return the metamodel member corresponding to the join.
 From<?,Z> getParent()
          Return the parent of the join.
 
Methods inherited from interface javax.persistence.criteria.From
getJoins, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
 
Methods inherited from interface javax.persistence.criteria.Path
get, get, get, get, getModel, getParentPath, type
 
Methods inherited from interface javax.persistence.criteria.Expression
as, getJavaType, in, isNotNull, isNull
 
Methods inherited from interface javax.persistence.criteria.Selection
setAlias
 
Methods inherited from interface javax.persistence.ResultItem
getAlias
 
Methods inherited from interface javax.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
 

Method Detail

getMember

Member<? extends Z,X> getMember()
Return the metamodel member corresponding to the join.

Returns:
metamodel member type for the join

getParent

From<?,Z> getParent()
Return the parent of the join.

Returns:
join parent

getJoinType

JoinType getJoinType()
Return the join type.

Returns:
join type

EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference