O
- Represents the parameterized type of the set ownerE
- Represents the parameterized type of the set elementspublic class SetAttributeJoin<O,E> extends PluralAttributeJoinSupport<O,java.util.Set<E>,E> implements SetJoinImplementor<O,E>, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SetAttributeJoin.TreatedSetAttributeJoin<O,T> |
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>
ParameterContainer.Helper
DEFAULT_JOIN_TYPE
Constructor and Description |
---|
SetAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
java.lang.Class<E> javaType,
PathSource<O> pathSource,
javax.persistence.metamodel.SetAttribute<? super O,E> joinAttribute,
javax.persistence.criteria.JoinType joinType) |
Modifier and Type | Method and Description |
---|---|
SetAttributeJoin<O,E> |
correlateTo(CriteriaSubqueryImpl subquery)
Refined return type
|
protected FromImplementor<O,E> |
createCorrelationDelegate() |
javax.persistence.metamodel.SetAttribute<? super O,E> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.SetAttribute<? super O,E> |
getModel() |
SetJoinImplementor<O,E> |
on(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
Coordinate return type between
Join.on(Expression) and Fetch#on(Expression) |
SetJoinImplementor<O,E> |
on(javax.persistence.criteria.Predicate... restrictions)
Coordinate return type between
Join.on(Predicate...) and Fetch#on(Predicate...) |
<T extends E> |
treatAs(java.lang.Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
canBeDereferenced, canBeJoinSource, isBasicCollection, locateManagedType
getJoinType, getOn, getParent, renderTableExpression
canBeFetchSource, fetch, fetch, fetch, fetch, fetch, fetch, getAlias, getCorrelationParent, getFetches, getJoins, getPathIdentifier, getPathSource, illegalFetch, illegalJoin, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, locateAttributeInternal, prepareAlias, prepareCorrelationDelegate, render
get, get, get, get, getParentPath, getPathSourceForSubPaths, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttribute
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
getValueHandlers
getValueHandler
render, renderGroupBy, renderProjection
getPathIdentifier
public SetAttributeJoin(CriteriaBuilderImpl criteriaBuilder, java.lang.Class<E> javaType, PathSource<O> pathSource, javax.persistence.metamodel.SetAttribute<? super O,E> joinAttribute, javax.persistence.criteria.JoinType joinType)
public javax.persistence.metamodel.SetAttribute<? super O,E> getAttribute()
PathImplementor
getAttribute
in interface javax.persistence.criteria.Fetch<O,E>
getAttribute
in interface javax.persistence.criteria.Join<O,E>
getAttribute
in interface PathImplementor<E>
getAttribute
in class PluralAttributeJoinSupport<O,java.util.Set<E>,E>
public javax.persistence.metamodel.SetAttribute<? super O,E> getModel()
getModel
in interface javax.persistence.criteria.Path<E>
getModel
in interface javax.persistence.criteria.PluralJoin<O,java.util.Set<E>,E>
getModel
in interface javax.persistence.criteria.SetJoin<O,E>
getModel
in class PluralAttributeJoinSupport<O,java.util.Set<E>,E>
public final SetAttributeJoin<O,E> correlateTo(CriteriaSubqueryImpl subquery)
JoinImplementor
correlateTo
in interface FromImplementor<O,E>
correlateTo
in interface JoinImplementor<O,E>
correlateTo
in interface SetJoinImplementor<O,E>
correlateTo
in class AbstractJoinImpl<O,E>
protected FromImplementor<O,E> createCorrelationDelegate()
createCorrelationDelegate
in class AbstractFromImpl<O,E>
public SetJoinImplementor<O,E> on(javax.persistence.criteria.Predicate... restrictions)
JoinImplementor
Join.on(Predicate...)
and Fetch#on(Predicate...)
on
in interface javax.persistence.criteria.Join<O,E>
on
in interface javax.persistence.criteria.SetJoin<O,E>
on
in interface JoinImplementor<O,E>
on
in interface SetJoinImplementor<O,E>
on
in class PluralAttributeJoinSupport<O,java.util.Set<E>,E>
public SetJoinImplementor<O,E> on(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
JoinImplementor
Join.on(Expression)
and Fetch#on(Expression)
on
in interface javax.persistence.criteria.Join<O,E>
on
in interface javax.persistence.criteria.SetJoin<O,E>
on
in interface JoinImplementor<O,E>
on
in interface SetJoinImplementor<O,E>
on
in class PluralAttributeJoinSupport<O,java.util.Set<E>,E>
public <T extends E> SetAttributeJoin<O,T> treatAs(java.lang.Class<T> treatAsType)
PathImplementor
treatAs
in interface JoinImplementor<O,E>
treatAs
in interface PathImplementor<E>
treatAs
in interface SetJoinImplementor<O,E>
T
- The parameterized type representation of treatAsType.treatAsType
- The type to treat the path as.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.