org.apache.openjpa.persistence.criteria
Class Joins.List<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,List<E>,E>
                      extended by org.apache.openjpa.persistence.criteria.Joins.List<Z,E>
Type Parameters:
Z - the type from which being joined
E - the type of the the list attribute elements
All Implemented Interfaces:
Expression<E>, FetchParent<Z,E>, From<Z,E>, Join<Z,E>, ListJoin<Z,E>, Path<E>, PluralJoin<Z,List<E>,E>, Selection<E>, TupleElement<E>, CriteriaExpression
Enclosing class:
Joins

static class Joins.List<Z,E>
extends Joins.AbstractCollection<Z,List<E>,E>
implements ListJoin<Z,E>

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


Field Summary
 
Fields inherited from class org.apache.openjpa.persistence.criteria.PathImpl
_member, _parent
 
Constructor Summary
Joins.List(FromImpl<?,Z> parent, Members.ListAttributeImpl<? super Z,E> member, JoinType jt)
           
 
Method Summary
 ListAttribute<? super Z,E> getModel()
          Returns the bindable object that corresponds to the path expression.
 Expression<Integer> index()
           
 
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.List

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

getModel

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

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

index

public Expression<Integer> index()
Specified by:
index in interface ListJoin<Z,E>


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