Z
- Generic entity type of fetch source.X
- Generic entity type of fetch target.public class FetchWrapper<Z,X> extends Object implements javax.persistence.criteria.Fetch<Z,X>
A wrapper for Fetch
, useful in case you intend to decorate it.
Constructor and Description |
---|
FetchWrapper(javax.persistence.criteria.Fetch<Z,X> wrapped) |
Modifier and Type | Method and Description |
---|---|
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attribute) |
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attribute,
javax.persistence.criteria.JoinType jt) |
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute) |
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute,
javax.persistence.criteria.JoinType jt) |
<X,Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(String attributeName) |
<X,Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(String attributeName,
javax.persistence.criteria.JoinType jt) |
javax.persistence.metamodel.Attribute<? super Z,?> |
getAttribute() |
Set<javax.persistence.criteria.Fetch<X,?>> |
getFetches() |
javax.persistence.criteria.JoinType |
getJoinType() |
javax.persistence.criteria.FetchParent<?,Z> |
getParent() |
public javax.persistence.metamodel.Attribute<? super Z,?> getAttribute()
public javax.persistence.criteria.FetchParent<?,Z> getParent()
public javax.persistence.criteria.JoinType getJoinType()
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute)
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attribute, javax.persistence.criteria.JoinType jt)
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attribute)
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attribute, javax.persistence.criteria.JoinType jt)
public <X,Y> javax.persistence.criteria.Fetch<X,Y> fetch(String attributeName)
Copyright © 2015–2017 OmniFaces. All rights reserved.