O
- Represents the parameterized type of the attribute ownerX
- Represents the parameterized type of the attributepublic class SingularAttributeJoin<O,X> extends AbstractJoinImpl<O,X>
Modifier and Type | Class and Description |
---|---|
static class |
SingularAttributeJoin.TreatedSingularAttributeJoin<O,T> |
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>
ParameterContainer.Helper
DEFAULT_JOIN_TYPE
Constructor and Description |
---|
SingularAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
PathSource<O> pathSource,
SingularAttribute<? super O,?> joinAttribute,
JoinType joinType) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeJoinSource() |
SingularAttributeJoin<O,X> |
correlateTo(CriteriaSubqueryImpl subquery)
Refined return type
|
protected FromImplementor<O,X> |
createCorrelationDelegate() |
SingularAttribute<? super O,?> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
Bindable<X> |
getModel()
Return the bindable object that corresponds to the
path expression.
|
protected ManagedType<? super X> |
locateManagedType() |
<T extends X> |
treatAs(Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
getJoinType, getOn, getParent, on, on, renderTableExpression
canBeDereferenced, 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, renderProjection
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
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
getValueHandlers
getValueHandler
render, renderProjection
getPathIdentifier
get, get, get, get, getParentPath, type
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
public SingularAttributeJoin(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, PathSource<O> pathSource, SingularAttribute<? super O,?> joinAttribute, JoinType joinType)
public SingularAttribute<? super O,?> getAttribute()
PathImplementor
getAttribute
in interface Fetch<O,X>
getAttribute
in interface Join<O,X>
getAttribute
in interface PathImplementor<X>
getAttribute
in class AbstractJoinImpl<O,X>
public SingularAttributeJoin<O,X> correlateTo(CriteriaSubqueryImpl subquery)
JoinImplementor
correlateTo
in interface FromImplementor<O,X>
correlateTo
in interface JoinImplementor<O,X>
correlateTo
in class AbstractJoinImpl<O,X>
protected FromImplementor<O,X> createCorrelationDelegate()
createCorrelationDelegate
in class AbstractFromImpl<O,X>
protected boolean canBeJoinSource()
canBeJoinSource
in class AbstractFromImpl<O,X>
protected ManagedType<? super X> locateManagedType()
locateManagedType
in class AbstractFromImpl<O,X>
public Bindable<X> getModel()
Path
public <T extends X> SingularAttributeJoin<O,T> treatAs(Class<T> treatAsType)
PathImplementor
T
- The parameterized type representation of treatAsType.treatAsType
- The type to treat the path as.Copyright © 2016 JBoss by Red Hat. All rights reserved.