Top Description Methods
org.hibernate.query.criteria.internal

public Interface SetJoinImplementor<Z, X>

extends JoinImplementor<Z, X>, SetJoin<Z, X>
Known Direct Implementers
org.hibernate.query.criteria.internal.path.SetAttributeJoin
Imports
javax.persistence.criteria.Expression, .Predicate, .SetJoin

Specialization of JoinImplementor for java.util.Set typed attribute joins
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public SetJoinImplementor<Z, X>
public SetJoinImplementor<Z, X>
on(Expression<Boolean>
a simple or compound boolean expression
restriction
)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.SetJoin.on.

Coordinate return type between Join#on(Expression) and Fetch#on(Expression)
public SetJoinImplementor<Z, X>
on(Predicate...
zero or more restriction predicates
restrictions
)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.SetJoin.on.

Coordinate return type between Join#on(Predicate...) and Fetch#on(Predicate...)
public <T extends X> SetJoinImplementor<Z, T>
treatAs(Class<T>
The type to treat the path as.
treatAsType
)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.treatAs.

Defines handling for the JPA 2.1 TREAT down-casting feature.
Inherited from javax.persistence.criteria.SetJoin:
getModel

Method Detail

correlateToback to summary
public SetJoinImplementor<Z, X> correlateTo(CriteriaSubqueryImpl<T> subquery)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.correlateTo.

Doc from org.hibernate.query.criteria.internal.JoinImplementor.correlateTo.

Refined return type

Annotations
@Override
onback to summary
public SetJoinImplementor<Z, X> on(Expression<Boolean> restriction)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.SetJoin.on.

Doc from org.hibernate.query.criteria.internal.JoinImplementor.on.

Coordinate return type between Join#on(Expression) and Fetch#on(Expression)

Parameters
restriction:Expression<Boolean>

Doc from javax.persistence.criteria.SetJoin.on.

a simple or compound boolean expression

Returns:SetJoinImplementor<Z, X>

Doc from javax.persistence.criteria.SetJoin.on.

the modified join object

Annotations
@Override
onback to summary
public SetJoinImplementor<Z, X> on(Predicate... restrictions)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.on, javax.persistence.criteria.SetJoin.on.

Doc from org.hibernate.query.criteria.internal.JoinImplementor.on.

Coordinate return type between Join#on(Predicate...) and Fetch#on(Predicate...)

Parameters
restrictions:Predicate[]

Doc from javax.persistence.criteria.SetJoin.on.

zero or more restriction predicates

Returns:SetJoinImplementor<Z, X>

Doc from javax.persistence.criteria.SetJoin.on.

the modified join object

Annotations
@Override
treatAsback to summary
public <T extends X> SetJoinImplementor<Z, T> treatAs(Class<T> treatAsType)

Redeclares org.hibernate.query.criteria.internal.JoinImplementor.treatAs.

Doc from org.hibernate.query.criteria.internal.PathImplementor.treatAs.

Defines handling for the JPA 2.1 TREAT down-casting feature.

Parameters
<T>
The parameterized type representation of treatAsType.
treatAsType:Class<T>

The type to treat the path as.

Returns:SetJoinImplementor<Z, T>

The properly typed view of this path.

Annotations
@Override