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