EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference

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

Type Parameters:
Z -
X -
All Superinterfaces:
FetchParent<Z,X>

public interface Fetch<Z,X>
extends FetchParent<Z,X>

Represents a join-fetched association or attribute.


Method Summary
 JoinType getJoinType()
          Return the join type used in the fetch join.
 Member<? extends Z,X> getMember()
          Return the metamodel member corresponding to the fetch join.
 FetchParent<?,Z> getParent()
          Return the parent of the fetched item.
 
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 fetch join.

Returns:
metamodel member type for the join

getParent

FetchParent<?,Z> getParent()
Return the parent of the fetched item.

Returns:
fetch parent

getJoinType

JoinType getJoinType()
Return the join type used in the fetch join.

Returns:
join type

EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference