Class CollectionJoinImpl<Z,​X>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.persistence.criteria.CollectionJoin<Z,​X>, javax.persistence.criteria.Expression<X>, javax.persistence.criteria.Fetch<Z,​X>, javax.persistence.criteria.FetchParent<Z,​X>, javax.persistence.criteria.From<Z,​X>, javax.persistence.criteria.Join<Z,​X>, javax.persistence.criteria.Path<X>, javax.persistence.criteria.PluralJoin<Z,​java.util.Collection<X>,​X>, javax.persistence.criteria.Selection<X>, javax.persistence.TupleElement<X>, InternalExpression, InternalSelection
    Direct Known Subclasses:
    BasicCollectionJoinImpl

    public class CollectionJoinImpl<Z,​X>
    extends JoinImpl<Z,​X>
    implements javax.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
    • Constructor Detail

      • CollectionJoinImpl

        public CollectionJoinImpl​(javax.persistence.criteria.Path<Z> parentPath,
                                  javax.persistence.metamodel.ManagedType managedType,
                                  javax.persistence.metamodel.Metamodel metamodel,
                                  java.lang.Class<X> javaClass,
                                  org.eclipse.persistence.expressions.Expression expressionNode,
                                  javax.persistence.metamodel.Bindable<T> modelArtifact)
      • CollectionJoinImpl

        public CollectionJoinImpl​(javax.persistence.criteria.Path<Z> parentPath,
                                  javax.persistence.metamodel.ManagedType managedType,
                                  javax.persistence.metamodel.Metamodel metamodel,
                                  java.lang.Class<X> javaClass,
                                  org.eclipse.persistence.expressions.Expression expressionNode,
                                  javax.persistence.metamodel.Bindable<T> modelArtifact,
                                  javax.persistence.criteria.JoinType joinType)
      • CollectionJoinImpl

        public CollectionJoinImpl​(javax.persistence.criteria.Path<Z> parentPath,
                                  javax.persistence.metamodel.ManagedType managedType,
                                  javax.persistence.metamodel.Metamodel metamodel,
                                  java.lang.Class<X> javaClass,
                                  org.eclipse.persistence.expressions.Expression expressionNode,
                                  javax.persistence.metamodel.Bindable<T> modelArtifact,
                                  javax.persistence.criteria.JoinType joinType,
                                  FromImpl correlatedParent)
    • Method Detail

      • getModel

        public javax.persistence.metamodel.CollectionAttribute<? super Z,​X> getModel()
        Return the metamodel representation for the collection.
        Specified by:
        getModel in interface javax.persistence.criteria.CollectionJoin<Z,​X>
        Specified by:
        getModel in interface javax.persistence.criteria.Path<Z>
        Specified by:
        getModel in interface javax.persistence.criteria.PluralJoin<Z,​java.util.Collection<X>,​X>
        Overrides:
        getModel in class PathImpl<X>
        Returns:
        metamodel type representing the Collection that is the target of the join
      • on

        public CollectionJoinImpl<Z,​X> on​(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
        Specified by:
        on in interface javax.persistence.criteria.CollectionJoin<Z,​X>
        Specified by:
        on in interface javax.persistence.criteria.Join<Z,​X>
        Overrides:
        on in class JoinImpl<Z,​X>
      • on

        public CollectionJoinImpl<Z,​X> on​(javax.persistence.criteria.Predicate... restrictions)
        Specified by:
        on in interface javax.persistence.criteria.CollectionJoin<Z,​X>
        Specified by:
        on in interface javax.persistence.criteria.Join<Z,​X>
        Overrides:
        on in class JoinImpl<Z,​X>