Class ListJoinImpl<Z,​E>

  • Type Parameters:
    Z - The source type of the join
    E - The element type of the target List
    All Implemented Interfaces:
    Serializable, 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,​List<E>,​E>, javax.persistence.criteria.Selection<E>, javax.persistence.TupleElement<E>

    public class ListJoinImpl<Z,​E>
    extends PluralJoinImpl<Z,​List<E>,​E>
    implements javax.persistence.criteria.ListJoin<Z,​E>
    Implementation of JPA2 Criteria "ListJoin".
    See Also:
    Serialized Form
    • Constructor Detail

      • ListJoinImpl

        public ListJoinImpl​(CriteriaBuilderImpl cb,
                            FromImpl<?,​Z> parent,
                            ListAttributeImpl attr,
                            javax.persistence.criteria.JoinType joinType)
        Constructor for a list join.
        Parameters:
        cb - Criteria Builder
        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<Z>
        Specified by:
        getModel in interface javax.persistence.criteria.PluralJoin<Z,​List<E>,​E>
        Overrides:
        getModel in class PluralJoinImpl<Z,​List<E>,​E>
      • index

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

        public javax.persistence.criteria.ListJoin<Z,​E> on​(javax.persistence.criteria.Expression<Boolean> restriction)
        Specified by:
        on in interface javax.persistence.criteria.Join<Z,​E>
        Specified by:
        on in interface javax.persistence.criteria.ListJoin<Z,​E>
        Overrides:
        on in class JoinImpl<Z,​E>
      • on

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