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.HelperDEFAULT_JOIN_TYPE| Constructor and Description |
|---|
SingularAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
java.lang.Class<X> javaType,
PathSource<O> pathSource,
javax.persistence.metamodel.SingularAttribute<? super O,?> joinAttribute,
javax.persistence.criteria.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() |
javax.persistence.metamodel.SingularAttribute<? super O,?> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.Bindable<X> |
getModel() |
protected javax.persistence.metamodel.ManagedType<? super X> |
locateManagedType() |
<T extends X> |
treatAs(java.lang.Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
getJoinType, getOn, getParent, on, on, renderTableExpressioncanBeDereferenced, 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, renderProjectionget, get, get, get, getParentPath, getPathSourceForSubPaths, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttributeas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCorrelationParent, prepareAlias, prepareCorrelationDelegateasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerrender, renderProjectiongetPathIdentifierget, get, get, get, getParentPath, typeas, in, in, in, in, isNotNull, isNullpublic SingularAttributeJoin(CriteriaBuilderImpl criteriaBuilder, java.lang.Class<X> javaType, PathSource<O> pathSource, javax.persistence.metamodel.SingularAttribute<? super O,?> joinAttribute, javax.persistence.criteria.JoinType joinType)
public javax.persistence.metamodel.SingularAttribute<? super O,?> getAttribute()
PathImplementorgetAttribute in interface javax.persistence.criteria.Fetch<O,X>getAttribute in interface javax.persistence.criteria.Join<O,X>getAttribute in interface PathImplementor<X>getAttribute in class AbstractJoinImpl<O,X>public SingularAttributeJoin<O,X> correlateTo(CriteriaSubqueryImpl subquery)
JoinImplementorcorrelateTo 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 javax.persistence.metamodel.ManagedType<? super X> locateManagedType()
locateManagedType in class AbstractFromImpl<O,X>public javax.persistence.metamodel.Bindable<X> getModel()
public <T extends X> SingularAttributeJoin<O,T> treatAs(java.lang.Class<T> treatAsType)
PathImplementorT - The parameterized type representation of treatAsType.treatAsType - The type to treat the path as.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.