Class BasicSetJoinImpl<Z,E>
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.querydef.SelectionImpl<X>
-
- org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl<X>
-
- org.eclipse.persistence.internal.jpa.querydef.PathImpl<X>
-
- org.eclipse.persistence.internal.jpa.querydef.FromImpl<Z,X>
-
- org.eclipse.persistence.internal.jpa.querydef.JoinImpl<Z,X>
-
- org.eclipse.persistence.internal.jpa.querydef.SetJoinImpl<Z,E>
-
- org.eclipse.persistence.internal.jpa.querydef.BasicSetJoinImpl<Z,E>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.persistence.criteria.Expression<E>
,javax.persistence.criteria.Fetch<Z,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>
,InternalExpression
,InternalSelection
public class BasicSetJoinImpl<Z,E> extends SetJoinImpl<Z,E>
Purpose: Represents a Join to a ElementCollection of basics.
Description: Represents a Join to a ElementCollection of basics. Special type of Join that does not allow further joins.
- Since:
- EclipseLink 1.2
- Author:
- gyorke
- See Also:
SetJoin
, Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.FromImpl
correlatedParent, fetches, isFetch, isJoin, joins, managedType
-
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.PathImpl
modelArtifact, pathParent
-
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
isLiteral, literal, metamodel
-
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, currentNode, javaType
-
-
Constructor Summary
Constructors Constructor Description BasicSetJoinImpl(javax.persistence.criteria.Path<Z> parentPath, javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<E> javaClass, org.eclipse.persistence.expressions.Expression expressionNode, javax.persistence.metamodel.Bindable<T> modelArtifact)
BasicSetJoinImpl(javax.persistence.criteria.Path<Z> parentPath, javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<E> javaClass, org.eclipse.persistence.expressions.Expression expressionNode, javax.persistence.metamodel.Bindable<T> modelArtifact, javax.persistence.criteria.JoinType joinType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Y> javax.persistence.criteria.Path<Y>
get(java.lang.String attName)
<L,W,M extends java.util.Map<L,W>>
javax.persistence.criteria.Expression<M>get(javax.persistence.metamodel.MapAttribute<E,L,W> map)
Return the path corresponding to the referenced map-valued attribute.<Y,C extends java.util.Collection<Y>>
javax.persistence.criteria.Expression<C>get(javax.persistence.metamodel.PluralAttribute<E,C,Y> collection)
Return the path corresponding to the referenced collection-valued attribute.<Y> javax.persistence.criteria.Path<Y>
get(javax.persistence.metamodel.SingularAttribute<? super E,Y> att)
Return the path corresponding to the referenced non-collection valued attribute.<E,Y>
javax.persistence.criteria.Join<E,Y>join(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
<Y> javax.persistence.criteria.CollectionJoin<E,Y>
join(javax.persistence.metamodel.CollectionAttribute<? super E,Y> collection, javax.persistence.criteria.JoinType jt)
<Y> javax.persistence.criteria.ListJoin<E,Y>
join(javax.persistence.metamodel.ListAttribute<? super E,Y> list, javax.persistence.criteria.JoinType jt)
<L,W>
javax.persistence.criteria.MapJoin<E,L,W>join(javax.persistence.metamodel.MapAttribute<? super E,L,W> map, javax.persistence.criteria.JoinType jt)
<Y> javax.persistence.criteria.SetJoin<E,Y>
join(javax.persistence.metamodel.SetAttribute<? super E,Y> set, javax.persistence.criteria.JoinType jt)
<Y> javax.persistence.criteria.Join<E,Y>
join(javax.persistence.metamodel.SingularAttribute<? super E,Y> attribute, javax.persistence.criteria.JoinType jt)
<E,Y>
javax.persistence.criteria.CollectionJoin<E,Y>joinCollection(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
<E,Y>
javax.persistence.criteria.ListJoin<E,Y>joinList(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
<E,L,W>
javax.persistence.criteria.MapJoin<E,L,W>joinMap(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
<E,Y>
javax.persistence.criteria.SetJoin<E,Y>joinSet(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
javax.persistence.criteria.Expression<java.lang.Class<? extends E>>
type()
Return an expression corresponding to the type of the path.-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.SetJoinImpl
getModel, on, on
-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.JoinImpl
buildExpressionForAs, getAttribute, getJoinType, getOn, getParent
-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.FromImpl
fetch, fetch, fetch, fetch, fetch, fetch, findJoinFetches, findJoins, getCorrelationParent, getFetches, getJoins, isCorrelated, isFrom, join, join, join, join, join, join, joinCollection, joinList, joinMap, joinSet
-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.PathImpl
clone, findRootAndParameters, getParentPath
-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
as, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubquery
-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isRoot, setJavaType
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
-
Methods inherited from interface javax.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface javax.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, joinCollection, joinList, joinMap, joinSet
-
Methods inherited from interface javax.persistence.criteria.Join
getAttribute, getJoinType, getOn, getParent
-
-
-
-
Constructor Detail
-
BasicSetJoinImpl
public BasicSetJoinImpl(javax.persistence.criteria.Path<Z> parentPath, javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<E> javaClass, org.eclipse.persistence.expressions.Expression expressionNode, javax.persistence.metamodel.Bindable<T> modelArtifact)
-
BasicSetJoinImpl
public BasicSetJoinImpl(javax.persistence.criteria.Path<Z> parentPath, javax.persistence.metamodel.Metamodel metamodel, java.lang.Class<E> javaClass, org.eclipse.persistence.expressions.Expression expressionNode, javax.persistence.metamodel.Bindable<T> modelArtifact, javax.persistence.criteria.JoinType joinType)
-
-
Method Detail
-
get
public <Y> javax.persistence.criteria.Path<Y> get(javax.persistence.metamodel.SingularAttribute<? super E,Y> att)
Return the path corresponding to the referenced non-collection valued attribute.
-
get
public <Y,C extends java.util.Collection<Y>> javax.persistence.criteria.Expression<C> get(javax.persistence.metamodel.PluralAttribute<E,C,Y> collection)
Return the path corresponding to the referenced collection-valued attribute.
-
get
public <L,W,M extends java.util.Map<L,W>> javax.persistence.criteria.Expression<M> get(javax.persistence.metamodel.MapAttribute<E,L,W> map)
Return the path corresponding to the referenced map-valued attribute.
-
type
public javax.persistence.criteria.Expression<java.lang.Class<? extends E>> type()
Return an expression corresponding to the type of the path.
-
get
public <Y> javax.persistence.criteria.Path<Y> get(java.lang.String attName)
-
join
public <Y> javax.persistence.criteria.Join<E,Y> join(javax.persistence.metamodel.SingularAttribute<? super E,Y> attribute, javax.persistence.criteria.JoinType jt)
-
join
public <Y> javax.persistence.criteria.CollectionJoin<E,Y> join(javax.persistence.metamodel.CollectionAttribute<? super E,Y> collection, javax.persistence.criteria.JoinType jt)
-
join
public <Y> javax.persistence.criteria.SetJoin<E,Y> join(javax.persistence.metamodel.SetAttribute<? super E,Y> set, javax.persistence.criteria.JoinType jt)
-
join
public <Y> javax.persistence.criteria.ListJoin<E,Y> join(javax.persistence.metamodel.ListAttribute<? super E,Y> list, javax.persistence.criteria.JoinType jt)
-
join
public <L,W> javax.persistence.criteria.MapJoin<E,L,W> join(javax.persistence.metamodel.MapAttribute<? super E,L,W> map, javax.persistence.criteria.JoinType jt)
-
join
public <E,Y> javax.persistence.criteria.Join<E,Y> join(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
-
joinCollection
public <E,Y> javax.persistence.criteria.CollectionJoin<E,Y> joinCollection(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
-
joinList
public <E,Y> javax.persistence.criteria.ListJoin<E,Y> joinList(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
-
joinMap
public <E,L,W> javax.persistence.criteria.MapJoin<E,L,W> joinMap(java.lang.String attributeName, javax.persistence.criteria.JoinType jt)
-
-