JPA Method
in javax.persistence.criteria.CriteriaBuilder

SetJoin<X,E> treat(
  SetJoin<X,T> join, 
  Class<E> type
)


Downcast SetJoin object to the specified type.
Parameters:
join - SetJoin object
type - type to be downcast to
Return:
SetJoin object of the specified type
Since:
JPA 2.1