Class 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
    • 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 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
      • Methods inherited from interface javax.persistence.criteria.Path

        getParentPath
      • Methods inherited from interface javax.persistence.criteria.Selection

        alias, getCompoundSelectionItems, isCompoundSelection
      • Methods inherited from interface javax.persistence.TupleElement

        getAlias, getJavaType
    • 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.
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
        Overrides:
        get in class FromImpl<Z,​E>
        Parameters:
        att - attribute
        Returns:
        path corresponding to the referenced 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.
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
        Overrides:
        get in class FromImpl<Z,​E>
        Parameters:
        collection - collection-valued attribute
        Returns:
        expression corresponding to the referenced 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.
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
        Overrides:
        get in class FromImpl<Z,​E>
        Parameters:
        map - map-valued attribute
        Returns:
        expression corresponding to the referenced attribute
      • type

        public javax.persistence.criteria.Expression<java.lang.Class<? extends E>> type()
        Return an expression corresponding to the type of the path.
        Specified by:
        type in interface javax.persistence.criteria.Path<Z>
        Overrides:
        type in class FromImpl<Z,​E>
        Returns:
        expression corresponding to the type of the path
      • get

        public <Y> javax.persistence.criteria.Path<Y> get​(java.lang.String attName)
        Specified by:
        get in interface javax.persistence.criteria.Path<Z>
        Overrides:
        get in class FromImpl<Z,​E>
      • join

        public <Y> javax.persistence.criteria.Join<E,​Y> join​(javax.persistence.metamodel.SingularAttribute<? super E,​Y> attribute,
                                                                   javax.persistence.criteria.JoinType jt)
        Specified by:
        join in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        join in class FromImpl<Z,​E>
      • join

        public <Y> javax.persistence.criteria.CollectionJoin<E,​Y> join​(javax.persistence.metamodel.CollectionAttribute<? super E,​Y> collection,
                                                                             javax.persistence.criteria.JoinType jt)
        Specified by:
        join in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        join in class FromImpl<Z,​E>
      • join

        public <Y> javax.persistence.criteria.SetJoin<E,​Y> join​(javax.persistence.metamodel.SetAttribute<? super E,​Y> set,
                                                                      javax.persistence.criteria.JoinType jt)
        Specified by:
        join in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        join in class FromImpl<Z,​E>
      • join

        public <Y> javax.persistence.criteria.ListJoin<E,​Y> join​(javax.persistence.metamodel.ListAttribute<? super E,​Y> list,
                                                                       javax.persistence.criteria.JoinType jt)
        Specified by:
        join in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        join in class FromImpl<Z,​E>
      • 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)
        Specified by:
        join in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        join in class FromImpl<Z,​E>
      • join

        public <E,​Y> javax.persistence.criteria.Join<E,​Y> join​(java.lang.String attributeName,
                                                                           javax.persistence.criteria.JoinType jt)
        Specified by:
        join in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        join in class FromImpl<Z,​E>
      • joinCollection

        public <E,​Y> javax.persistence.criteria.CollectionJoin<E,​Y> joinCollection​(java.lang.String attributeName,
                                                                                               javax.persistence.criteria.JoinType jt)
        Specified by:
        joinCollection in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        joinCollection in class FromImpl<Z,​E>
      • joinList

        public <E,​Y> javax.persistence.criteria.ListJoin<E,​Y> joinList​(java.lang.String attributeName,
                                                                                   javax.persistence.criteria.JoinType jt)
        Specified by:
        joinList in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        joinList in class FromImpl<Z,​E>
      • joinMap

        public <E,​L,​W> javax.persistence.criteria.MapJoin<E,​L,​W> joinMap​(java.lang.String attributeName,
                                                                                                 javax.persistence.criteria.JoinType jt)
        Specified by:
        joinMap in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        joinMap in class FromImpl<Z,​E>
      • joinSet

        public <E,​Y> javax.persistence.criteria.SetJoin<E,​Y> joinSet​(java.lang.String attributeName,
                                                                                 javax.persistence.criteria.JoinType jt)
        Specified by:
        joinSet in interface javax.persistence.criteria.From<Z,​E>
        Overrides:
        joinSet in class FromImpl<Z,​E>