org.apache.openjpa.persistence.criteria
Class Joins.Collection<Z,E>

java.lang.Object
  extended by org.apache.openjpa.persistence.criteria.SelectionImpl<X>
      extended by org.apache.openjpa.persistence.criteria.ExpressionImpl<X>
          extended by org.apache.openjpa.persistence.criteria.PathImpl<Z,X>
              extended by org.apache.openjpa.persistence.criteria.FromImpl<Z,E>
                  extended by org.apache.openjpa.persistence.criteria.Joins.AbstractCollection<Z,Collection<E>,E>
                      extended by org.apache.openjpa.persistence.criteria.Joins.Collection<Z,E>
Type Parameters:
Z - the type from which being joined
E - the type of the the collection attribute elements
All Implemented Interfaces:
CollectionJoin<Z,E>, Expression<E>, FetchParent<Z,E>, From<Z,E>, Join<Z,E>, Path<E>, PluralJoin<Z,Collection<E>,E>, Selection<E>, TupleElement<E>, CriteriaExpression
Enclosing class:
Joins

static class Joins.Collection<Z,E>
extends Joins.AbstractCollection<Z,Collection<E>,E>
implements CollectionJoin<Z,E>

Join a java.util.Collection<E> type attribute.


Field Summary
 
Fields inherited from class org.apache.openjpa.persistence.criteria.PathImpl
_member, _parent
 
Constructor Summary
Joins.Collection(FromImpl<?,Z> parent, Members.CollectionAttributeImpl<? super Z,E> member, JoinType jt)
           
 
Method Summary
 CollectionAttribute<? super Z,E> getModel()
          Returns the bindable object that corresponds to the path expression.
 
Methods inherited from class org.apache.openjpa.persistence.criteria.Joins.AbstractCollection
asVariable, getAttribute, getJoinType, getMemberClassMetaData, getParent, toKernelExpression, toValue
 
Methods inherited from class org.apache.openjpa.persistence.criteria.FromImpl
acceptVisit, assertJoinable, fetch, fetch, fetch, fetch, fetch, fetch, getCorrelationParent, getFetches, getJoins, getType, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
 
Methods inherited from class org.apache.openjpa.persistence.criteria.PathImpl
asValue, get, get, get, get, getCorrelatedJoin, getCorrelatedPath, getCorrelatedRoot, getEmbeddedFieldMetaData, getInnermostMember, getInnermostParentPath, getMember, getParentPath, inSubquery, isCorrelated, setCorrelatedPath, traversePath, type
 
Methods inherited from class org.apache.openjpa.persistence.criteria.ExpressionImpl
as, in, in, in, in, isNotNull, isNull
 
Methods inherited from class org.apache.openjpa.persistence.criteria.SelectionImpl
alias, asProjection, assertValidName, getAlias, getCompoundSelectionItems, getJavaType, isAliased, isAutoAliased, isCompoundSelection, setAutoAlias
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

Joins.Collection

public Joins.Collection(FromImpl<?,Z> parent,
                        Members.CollectionAttributeImpl<? super Z,E> member,
                        JoinType jt)
Method Detail

getModel

public CollectionAttribute<? super Z,E> getModel()
Description copied from class: PathImpl
Returns the bindable object that corresponds to the path expression.

Specified by:
getModel in interface CollectionJoin<Z,E>
Specified by:
getModel in interface Path<E>
Specified by:
getModel in interface PluralJoin<Z,Collection<E>,E>
Overrides:
getModel in class Joins.AbstractCollection<Z,Collection<E>,E>


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.