Z
- type from which joiningX
- type of the attribute being joinedpublic class JoinImpl<Z,X> extends FromImpl<Z,X> implements javax.persistence.criteria.Join<Z,X>
fetchJoins, joins, type
cb
Constructor and Description |
---|
JoinImpl(CriteriaBuilderImpl cb,
FromImpl<?,Z> parent,
PluralAttributeImpl<? super Z,Collection<X>,X> attr,
javax.persistence.criteria.JoinType joinType)
Constructor for a join to a collection (1-N, M-N relations).
|
JoinImpl(CriteriaBuilderImpl cb,
FromImpl<?,Z> parent,
SingularAttributeImpl<Z,X> attr,
javax.persistence.criteria.JoinType joinType)
Constructor for a join to an entity (1-1, N-1 relations).
|
Modifier and Type | Method and Description |
---|---|
javax.persistence.metamodel.Attribute<? super Z,?> |
getAttribute() |
javax.persistence.criteria.JoinType |
getJoinType() |
javax.persistence.criteria.Predicate |
getOn() |
javax.persistence.criteria.From<?,Z> |
getParent() |
javax.persistence.criteria.Join<Z,X> |
on(javax.persistence.criteria.Expression<Boolean> restriction) |
javax.persistence.criteria.Join<Z,X> |
on(javax.persistence.criteria.Predicate... restrictions) |
fetch, fetch, fetch, fetch, fetch, fetch, getAttributeForAttributeName, getAttributeType, getCorrelationParent, getFetches, getJoins, getQueryExpression, getQueryExpression, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, toString, toString
get, get, get, get, getModel, getParentPath, getType, type
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
get, get, get, get, getModel, getParentPath, type
as, in, in, in, in, isNotNull, isNull
public JoinImpl(CriteriaBuilderImpl cb, FromImpl<?,Z> parent, SingularAttributeImpl<Z,X> attr, javax.persistence.criteria.JoinType joinType)
cb
- Criteria Builderparent
- Parent objectattr
- The type joining tojoinType
- Type of join (Inner/LeftOuter/RightOuter)public JoinImpl(CriteriaBuilderImpl cb, FromImpl<?,Z> parent, PluralAttributeImpl<? super Z,Collection<X>,X> attr, javax.persistence.criteria.JoinType joinType)
cb
- Criteria Builderparent
- Parent objectattr
- The type joining tojoinType
- Type of join (Inner/LeftOuter/RightOuter)public javax.persistence.metamodel.Attribute<? super Z,?> getAttribute()
public javax.persistence.criteria.JoinType getJoinType()
public javax.persistence.criteria.From<?,Z> getParent()
public javax.persistence.criteria.Predicate getOn()
public javax.persistence.criteria.Join<Z,X> on(javax.persistence.criteria.Expression<Boolean> restriction)
Copyright © 2015. All rights reserved.