Class CollectionJoinImpl<Z,X>
- 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.CollectionJoinImpl<Z,X>
-
- All Implemented Interfaces:
jakarta.persistence.criteria.CollectionJoin<Z,X>,jakarta.persistence.criteria.Expression<X>,jakarta.persistence.criteria.Fetch<Z,X>,jakarta.persistence.criteria.FetchParent<Z,X>,jakarta.persistence.criteria.From<Z,X>,jakarta.persistence.criteria.Join<Z,X>,jakarta.persistence.criteria.Path<X>,jakarta.persistence.criteria.PluralJoin<Z,Collection<X>,X>,jakarta.persistence.criteria.Selection<X>,jakarta.persistence.TupleElement<X>,Serializable,Cloneable,InternalExpression,InternalSelection
- Direct Known Subclasses:
BasicCollectionJoinImpl
public class CollectionJoinImpl<Z,X> extends JoinImpl<Z,X> implements jakarta.persistence.criteria.CollectionJoin<Z,X>
Purpose: Contains the implementation of the CollectionJoin interface of the JPA criteria API.
Description: This class represents a join of an attribute through a collection .
- Since:
- EclipseLink 1.2
- Author:
- gyorke
- See Also:
From, 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 CollectionJoinImpl(jakarta.persistence.criteria.Path<Z> parentPath, jakarta.persistence.metamodel.ManagedType managedType, jakarta.persistence.metamodel.Metamodel metamodel, Class<X> javaClass, Expression expressionNode, jakarta.persistence.metamodel.Bindable<T> modelArtifact)CollectionJoinImpl(jakarta.persistence.criteria.Path<Z> parentPath, jakarta.persistence.metamodel.ManagedType managedType, jakarta.persistence.metamodel.Metamodel metamodel, Class<X> javaClass, Expression expressionNode, jakarta.persistence.metamodel.Bindable<T> modelArtifact, jakarta.persistence.criteria.JoinType joinType)CollectionJoinImpl(jakarta.persistence.criteria.Path<Z> parentPath, jakarta.persistence.metamodel.ManagedType managedType, jakarta.persistence.metamodel.Metamodel metamodel, Class<X> javaClass, Expression expressionNode, jakarta.persistence.metamodel.Bindable<T> modelArtifact, jakarta.persistence.criteria.JoinType joinType, FromImpl correlatedParent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.metamodel.CollectionAttribute<? super Z,X>getModel()Return the metamodel representation for the collection.CollectionJoinImpl<Z,X>on(jakarta.persistence.criteria.Expression<Boolean> restriction)CollectionJoinImpl<Z,X>on(jakarta.persistence.criteria.Predicate... restrictions)-
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, get, get, get, get, getCorrelationParent, getFetches, getJoins, isCorrelated, isFrom, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, type
-
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 jakarta.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
-
Methods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface jakarta.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 jakarta.persistence.criteria.Join
getAttribute, getJoinType, getOn, getParent
-
Methods inherited from interface jakarta.persistence.criteria.Path
get, get, get, get, getParentPath, type
-
-
-
-
Constructor Detail
-
CollectionJoinImpl
public CollectionJoinImpl(jakarta.persistence.criteria.Path<Z> parentPath, jakarta.persistence.metamodel.ManagedType managedType, jakarta.persistence.metamodel.Metamodel metamodel, Class<X> javaClass, Expression expressionNode, jakarta.persistence.metamodel.Bindable<T> modelArtifact)
-
CollectionJoinImpl
public CollectionJoinImpl(jakarta.persistence.criteria.Path<Z> parentPath, jakarta.persistence.metamodel.ManagedType managedType, jakarta.persistence.metamodel.Metamodel metamodel, Class<X> javaClass, Expression expressionNode, jakarta.persistence.metamodel.Bindable<T> modelArtifact, jakarta.persistence.criteria.JoinType joinType)
-
CollectionJoinImpl
public CollectionJoinImpl(jakarta.persistence.criteria.Path<Z> parentPath, jakarta.persistence.metamodel.ManagedType managedType, jakarta.persistence.metamodel.Metamodel metamodel, Class<X> javaClass, Expression expressionNode, jakarta.persistence.metamodel.Bindable<T> modelArtifact, jakarta.persistence.criteria.JoinType joinType, FromImpl correlatedParent)
-
-
Method Detail
-
getModel
public jakarta.persistence.metamodel.CollectionAttribute<? super Z,X> getModel()
Return the metamodel representation for the collection.- Specified by:
getModelin interfacejakarta.persistence.criteria.CollectionJoin<Z,X>- Specified by:
getModelin interfacejakarta.persistence.criteria.Path<Z>- Specified by:
getModelin interfacejakarta.persistence.criteria.PluralJoin<Z,Collection<X>,X>- Overrides:
getModelin classPathImpl<X>- Returns:
- metamodel type representing the Collection that is the target of the join
-
on
public CollectionJoinImpl<Z,X> on(jakarta.persistence.criteria.Expression<Boolean> restriction)
-
-