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

public class ListJoinImpl<Z,E>
extends PluralJoinImpl<Z,java.util.List<E>,E>
implements javax.persistence.criteria.ListJoin<Z,E>

Implementation of JPA2 Criteria "ListJoin".


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
ListJoinImpl(FromImpl<?,Z> parent, ListAttributeImpl attr, javax.persistence.criteria.JoinType joinType)
          Constructor for a list join.
 
Method Summary
 javax.persistence.metamodel.ListAttribute<? super Z,E> getModel()
           
 javax.persistence.criteria.Expression<java.lang.Integer> index()
           
 
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

ListJoinImpl

public ListJoinImpl(FromImpl<?,Z> parent,
                    ListAttributeImpl attr,
                    javax.persistence.criteria.JoinType joinType)
Constructor for a list join.

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

getModel

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

index

public javax.persistence.criteria.Expression<java.lang.Integer> index()
Specified by:
index in interface javax.persistence.criteria.ListJoin<Z,E>


Copyright © 2011. All Rights Reserved.