org.datanucleus.jpa.criteria
Class SetJoinImpl<Z,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,java.util.Set<E>,E>
                      extended by org.datanucleus.jpa.criteria.SetJoinImpl<Z,E>
Type Parameters:
Z - The source type of the join
E - The element type of the target Set
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,java.util.Set<E>,E>, javax.persistence.criteria.Selection<E>, javax.persistence.criteria.SetJoin<Z,E>, javax.persistence.TupleElement<E>

public class SetJoinImpl<Z,E>
extends PluralJoinImpl<Z,java.util.Set<E>,E>
implements javax.persistence.criteria.SetJoin<Z,E>

Implementation of JPA2 Criteria "SetJoin".


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
SetJoinImpl(FromImpl parent, SetAttributeImpl attr, javax.persistence.criteria.JoinType joinType)
          Constructor for a set join.
 
Method Summary
 javax.persistence.metamodel.SetAttribute<? super Z,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

SetJoinImpl

public SetJoinImpl(FromImpl parent,
                   SetAttributeImpl attr,
                   javax.persistence.criteria.JoinType joinType)
Constructor for a set join.

Parameters:
parent - The parent
attr - The attribute being joined
joinType - Type of join
Method Detail

getModel

public javax.persistence.metamodel.SetAttribute<? super Z,E> getModel()
Specified by:
getModel in interface javax.persistence.criteria.Path<E>
Specified by:
getModel in interface javax.persistence.criteria.PluralJoin<Z,java.util.Set<E>,E>
Specified by:
getModel in interface javax.persistence.criteria.SetJoin<Z,E>
Overrides:
getModel in class PluralJoinImpl<Z,java.util.Set<E>,E>


Copyright © 2011. All Rights Reserved.