org.datanucleus.jpa.criteria
Class PluralJoinImpl<Z,C,E>

java.lang.Object
  extended by org.datanucleus.jpa.criteria.ExpressionImpl<X>
      extended by org.datanucleus.jpa.criteria.PathImpl<Z,X>
          extended by org.datanucleus.jpa.criteria.FromImpl<Z,X>
              extended by org.datanucleus.jpa.criteria.JoinImpl<Z,E>
                  extended by org.datanucleus.jpa.criteria.PluralJoinImpl<Z,C,E>
Type Parameters:
Z - The source type
C - The collection type
E - The element type of the collection
All Implemented Interfaces:
javax.persistence.criteria.Expression<E>, javax.persistence.criteria.FetchParent<Z,E>, javax.persistence.criteria.From<Z,E>, javax.persistence.criteria.Join<Z,E>, javax.persistence.criteria.Path<E>, javax.persistence.criteria.PluralJoin<Z,C,E>, javax.persistence.criteria.Selection<E>, javax.persistence.TupleElement<E>
Direct Known Subclasses:
CollectionJoinImpl, ListJoinImpl, MapJoinImpl, SetJoinImpl

public class PluralJoinImpl<Z,C,E>
extends JoinImpl<Z,E>
implements javax.persistence.criteria.PluralJoin<Z,C,E>

Implementation of JPA2 Criteria "PluralJoin".


Field Summary
 
Fields inherited from class org.datanucleus.jpa.criteria.FromImpl
fetchJoins, joins, type
 
Fields inherited from class org.datanucleus.jpa.criteria.PathImpl
attribute, parent
 
Constructor Summary
PluralJoinImpl(FromImpl parent, PluralAttributeImpl<? super Z,java.util.Collection<E>,E> attr, javax.persistence.criteria.JoinType joinType)
           
 
Method Summary
 javax.persistence.metamodel.PluralAttribute<? super Z,C,E> getModel()
           
 
Methods inherited from class org.datanucleus.jpa.criteria.JoinImpl
getAttribute, getJoinType, getParent
 
Methods inherited from class org.datanucleus.jpa.criteria.FromImpl
fetch, fetch, fetch, fetch, fetch, fetch, getAttributeForAttributeName, getCorrelationParent, getFetches, getJoins, getQueryExpression, getQueryExpression, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, toString, toString
 
Methods inherited from class org.datanucleus.jpa.criteria.PathImpl
get, get, get, get, getParentPath, getType, type
 
Methods inherited from class org.datanucleus.jpa.criteria.ExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.persistence.criteria.Join
getAttribute, getJoinType, getParent
 
Methods inherited from interface javax.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, 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, 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
 

Constructor Detail

PluralJoinImpl

public PluralJoinImpl(FromImpl parent,
                      PluralAttributeImpl<? super Z,java.util.Collection<E>,E> attr,
                      javax.persistence.criteria.JoinType joinType)
Parameters:
parent - Parent component
attr - The attribute being joined to
joinType - Type of join
Method Detail

getModel

public javax.persistence.metamodel.PluralAttribute<? super Z,C,E> getModel()
Specified by:
getModel in interface javax.persistence.criteria.Path<E>
Specified by:
getModel in interface javax.persistence.criteria.PluralJoin<Z,C,E>
Overrides:
getModel in class PathImpl<Z,E>


Copyright © 2011. All Rights Reserved.