|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.ejb.criteria.AbstractNode org.hibernate.ejb.criteria.expression.AbstractTupleElement<X> org.hibernate.ejb.criteria.expression.SelectionImpl<T> org.hibernate.ejb.criteria.expression.ExpressionImpl<X> org.hibernate.ejb.criteria.path.AbstractPathImpl<X> org.hibernate.ejb.criteria.path.AbstractFromImpl<Z,X> org.hibernate.ejb.criteria.path.AbstractJoinImpl<O,E> org.hibernate.ejb.criteria.path.PluralAttributeJoinSupport<O,C,E>
public abstract class PluralAttributeJoinSupport<O,C,E>
Support for defining joins to plural attributes (JPA requires typing based on the specific collection type so we cannot really implement all support in a single class)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.hibernate.ejb.criteria.path.AbstractFromImpl |
---|
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X> |
Nested classes/interfaces inherited from interface org.hibernate.ejb.criteria.ParameterContainer |
---|
ParameterContainer.Helper |
Field Summary |
---|
Fields inherited from class org.hibernate.ejb.criteria.path.AbstractFromImpl |
---|
DEFAULT_JOIN_TYPE |
Constructor Summary | |
---|---|
PluralAttributeJoinSupport(CriteriaBuilderImpl criteriaBuilder,
Class<E> javaType,
PathSource<O> pathSource,
javax.persistence.metamodel.Attribute<? super O,?> joinAttribute,
javax.persistence.criteria.JoinType joinType)
|
Method Summary | |
---|---|
protected boolean |
canBeDereferenced()
|
protected boolean |
canBeJoinSource()
|
javax.persistence.metamodel.PluralAttribute<? super O,C,E> |
getAttribute()
Retrieve reference to the attribute this path represents. |
javax.persistence.metamodel.PluralAttribute<? super O,C,E> |
getModel()
|
boolean |
isBasicCollection()
|
protected javax.persistence.metamodel.ManagedType<E> |
locateManagedType()
|
Methods inherited from class org.hibernate.ejb.criteria.path.AbstractJoinImpl |
---|
correlateTo, getJoinType, getParent, renderTableExpression |
Methods inherited from class org.hibernate.ejb.criteria.path.AbstractFromImpl |
---|
canBeFetchSource, createCorrelationDelegate, fetch, fetch, fetch, fetch, fetch, fetch, getAlias, getCorrelationParent, getFetches, getJoins, getPathIdentifier, getPathSource, 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 |
Methods inherited from class org.hibernate.ejb.criteria.path.AbstractPathImpl |
---|
get, get, get, get, getParentPath, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttribute |
Methods inherited from class org.hibernate.ejb.criteria.expression.ExpressionImpl |
---|
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull |
Methods inherited from class org.hibernate.ejb.criteria.expression.SelectionImpl |
---|
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection |
Methods inherited from class org.hibernate.ejb.criteria.expression.AbstractTupleElement |
---|
forceConversion, getJavaType, getValueHandler, resetJavaType, setAlias |
Methods inherited from class org.hibernate.ejb.criteria.AbstractNode |
---|
criteriaBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.persistence.criteria.Join |
---|
getJoinType, getParent |
Methods inherited from interface javax.persistence.criteria.From |
---|
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet |
Methods inherited from interface javax.persistence.criteria.Path |
---|
get, get, get, get, getParentPath, type |
Methods inherited from interface javax.persistence.criteria.Expression |
---|
as, in, in, in, in, isNotNull, isNull |
Methods inherited from interface javax.persistence.criteria.Selection |
---|
alias, getCompoundSelectionItems, isCompoundSelection |
Methods inherited from interface javax.persistence.TupleElement |
---|
getAlias, getJavaType |
Methods inherited from interface javax.persistence.criteria.FetchParent |
---|
fetch, fetch, fetch, fetch, fetch, fetch, getFetches |
Methods inherited from interface org.hibernate.ejb.criteria.FromImplementor |
---|
getCorrelationParent, prepareAlias, prepareCorrelationDelegate |
Methods inherited from interface org.hibernate.ejb.criteria.ExpressionImplementor |
---|
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString |
Methods inherited from interface org.hibernate.ejb.criteria.SelectionImplementor |
---|
getValueHandlers |
Methods inherited from interface org.hibernate.ejb.criteria.TupleElementImplementor |
---|
getValueHandler |
Methods inherited from interface org.hibernate.ejb.criteria.Renderable |
---|
render, renderProjection |
Methods inherited from interface org.hibernate.ejb.criteria.PathSource |
---|
getPathIdentifier |
Constructor Detail |
---|
public PluralAttributeJoinSupport(CriteriaBuilderImpl criteriaBuilder, Class<E> javaType, PathSource<O> pathSource, javax.persistence.metamodel.Attribute<? super O,?> joinAttribute, javax.persistence.criteria.JoinType joinType)
Method Detail |
---|
public javax.persistence.metamodel.PluralAttribute<? super O,C,E> getAttribute()
AbstractJoinImpl
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 AbstractJoinImpl<O,E>
public javax.persistence.metamodel.PluralAttribute<? super O,C,E> getModel()
getModel
in interface javax.persistence.criteria.Path<E>
getModel
in interface javax.persistence.criteria.PluralJoin<O,C,E>
protected javax.persistence.metamodel.ManagedType<E> locateManagedType()
locateManagedType
in class AbstractFromImpl<O,E>
public boolean isBasicCollection()
protected boolean canBeDereferenced()
AbstractFromImpl
canBeDereferenced
in class AbstractFromImpl<O,E>
protected boolean canBeJoinSource()
canBeJoinSource
in class AbstractFromImpl<O,E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |