| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Z - the source typeX - the target typepublic 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.
Serves as a factory for Joins of associations, embeddables, and collections belonging to the type, and for Paths of attributes belonging to the type.
| Method Summary | ||
|---|---|---|
 From<Z,X> | 
getCorrelationParent()
Returns the parent From object from which the correlated
  From object has been obtained through correlation (use
  of a Subquery correlate method). | 
|
 java.util.Set<Join<X,?>> | 
getJoins()
Return the joins that have been made from this bound type.  | 
|
 boolean | 
isCorrelated()
Whether the From object has been obtained as a result of
  correlation (use of a Subquery correlate 
  method). | 
|
 | 
join(CollectionAttribute<? super X,Y> collection)
Create an inner join to the specified Collection-valued attribute.  | 
|
 | 
join(CollectionAttribute<? super X,Y> collection,
     JoinType jt)
Create a join to the specified Collection-valued attribute using the given join type.  | 
|
 | 
join(ListAttribute<? super X,Y> list)
Create an inner join to the specified List-valued attribute.  | 
|
 | 
join(ListAttribute<? super X,Y> list,
     JoinType jt)
Create a join to the specified List-valued attribute using the given join type.  | 
|
 | 
join(MapAttribute<? super X,K,V> map)
Create an inner join to the specified Map-valued attribute.  | 
|
 | 
join(MapAttribute<? super X,K,V> map,
     JoinType jt)
Create a join to the specified Map-valued attribute using the given join type.  | 
|
 | 
join(SetAttribute<? super X,Y> set)
Create an inner join to the specified Set-valued attribute.  | 
|
 | 
join(SetAttribute<? super X,Y> set,
     JoinType jt)
Create a join to the specified Set-valued attribute using the given join type.  | 
|
 | 
join(SingularAttribute<? super X,Y> attribute)
Create an inner join to the specified single-valued attribute.  | 
|
 | 
join(SingularAttribute<? super X,Y> attribute,
     JoinType jt)
Create a join to the specified single-valued attribute using the given join type.  | 
|
 | 
join(java.lang.String attributeName)
Create an inner join to the specified attribute.  | 
|
 | 
join(java.lang.String attributeName,
     JoinType jt)
Create a join to the specified attribute using the given join type.  | 
|
 | 
joinCollection(java.lang.String attributeName)
Create an inner join to the specified Collection-valued attribute.  | 
|
 | 
joinCollection(java.lang.String attributeName,
               JoinType jt)
Create a join to the specified Collection-valued attribute using the given join type.  | 
|
 | 
joinList(java.lang.String attributeName)
Create an inner join to the specified List-valued attribute.  | 
|
 | 
joinList(java.lang.String attributeName,
         JoinType jt)
Create a join to the specified List-valued attribute using the given join type.  | 
|
 | 
joinMap(java.lang.String attributeName)
Create an inner join to the specified Map-valued attribute.  | 
|
 | 
joinMap(java.lang.String attributeName,
        JoinType jt)
Create a join to the specified Map-valued attribute using the given join type.  | 
|
 | 
joinSet(java.lang.String attributeName)
Create an inner join to the specified Set-valued attribute.  | 
|
 | 
joinSet(java.lang.String attributeName,
        JoinType jt)
Create a join to the specified Set-valued attribute using the given join type.  | 
|
| 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 | 
| Methods inherited from interface javax.persistence.criteria.FetchParent | 
|---|
fetch, fetch, fetch, fetch, fetch, fetch, getFetches | 
| Method Detail | 
|---|
java.util.Set<Join<X,?>> getJoins()
boolean isCorrelated()
From object has been obtained as a result of
  correlation (use of a Subquery correlate 
  method).
From<Z,X> getCorrelationParent()
From object from which the correlated
  From object has been obtained through correlation (use
  of a Subquery correlate method).
IllegalStateException - if the From object has
          not been obtained through correlation<Y> Join<X,Y> join(SingularAttribute<? super X,Y> attribute)
attribute - target of the join
<Y> Join<X,Y> join(SingularAttribute<? super X,Y> attribute,
                   JoinType jt)
attribute - target of the joinjt - join type
<Y> CollectionJoin<X,Y> join(CollectionAttribute<? super X,Y> collection)
collection - target of the join
<Y> SetJoin<X,Y> join(SetAttribute<? super X,Y> set)
set - target of the join
<Y> ListJoin<X,Y> join(ListAttribute<? super X,Y> list)
list - target of the join
<K,V> MapJoin<X,K,V> join(MapAttribute<? super X,K,V> map)
map - target of the join
<Y> CollectionJoin<X,Y> join(CollectionAttribute<? super X,Y> collection,
                             JoinType jt)
collection - target of the joinjt - join type
<Y> SetJoin<X,Y> join(SetAttribute<? super X,Y> set,
                      JoinType jt)
set - target of the joinjt - join type
<Y> ListJoin<X,Y> join(ListAttribute<? super X,Y> list,
                       JoinType jt)
list - target of the joinjt - join type
<K,V> MapJoin<X,K,V> join(MapAttribute<? super X,K,V> map,
                          JoinType jt)
map - target of the joinjt - join type
<X,Y> Join<X,Y> join(java.lang.String attributeName)
attributeName - name of the attribute for the 
               target of the join
IllegalArgumentException - if attribute of the given
          name does not exist<X,Y> CollectionJoin<X,Y> joinCollection(java.lang.String attributeName)
attributeName - name of the attribute for the 
               target of the join
IllegalArgumentException - if attribute of the given
          name does not exist<X,Y> SetJoin<X,Y> joinSet(java.lang.String attributeName)
attributeName - name of the attribute for the 
               target of the join
IllegalArgumentException - if attribute of the given
          name does not exist<X,Y> ListJoin<X,Y> joinList(java.lang.String attributeName)
attributeName - name of the attribute for the 
               target of the join
IllegalArgumentException - if attribute of the given
          name does not exist<X,K,V> MapJoin<X,K,V> joinMap(java.lang.String attributeName)
attributeName - name of the attribute for the 
               target of the join
IllegalArgumentException - if attribute of the given
          name does not exist
<X,Y> Join<X,Y> join(java.lang.String attributeName,
                     JoinType jt)
attributeName - name of the attribute for the 
               target of the joinjt - join type
IllegalArgumentException - if attribute of the given
          name does not exist
<X,Y> CollectionJoin<X,Y> joinCollection(java.lang.String attributeName,
                                         JoinType jt)
attributeName - name of the attribute for the 
               target of the joinjt - join type
IllegalArgumentException - if attribute of the given
          name does not exist
<X,Y> SetJoin<X,Y> joinSet(java.lang.String attributeName,
                           JoinType jt)
attributeName - name of the attribute for the 
               target of the joinjt - join type
IllegalArgumentException - if attribute of the given
          name does not exist
<X,Y> ListJoin<X,Y> joinList(java.lang.String attributeName,
                             JoinType jt)
attributeName - name of the attribute for the 
               target of the joinjt - join type
IllegalArgumentException - if attribute of the given
          name does not exist
<X,K,V> MapJoin<X,K,V> joinMap(java.lang.String attributeName,
                               JoinType jt)
attributeName - name of the attribute for the 
               target of the joinjt - join type
IllegalArgumentException - if attribute of the given
          name does not exist
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41