Class FetchWrapper<Z,X>
- java.lang.Object
-
- org.omnifaces.persistence.service.FetchWrapper<Z,X>
-
- Type Parameters:
Z
- Generic entity type of fetch source.X
- Generic entity type of fetch target.
- All Implemented Interfaces:
Fetch<Z,X>
,FetchParent<Z,X>
public abstract class FetchWrapper<Z,X> extends Object implements Fetch<Z,X>
A wrapper for
Fetch
, useful in case you intend to decorate it.- Author:
- Bauke Scholtz
-
-
Constructor Summary
Constructors Constructor Description FetchWrapper(Fetch<Z,X> wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getAttribute
public Attribute<? super Z,?> getAttribute()
- Specified by:
getAttribute
in interfaceFetch<Z,X>
-
getFetches
public Set<Fetch<X,?>> getFetches()
- Specified by:
getFetches
in interfaceFetchParent<Z,X>
-
getJoinType
public JoinType getJoinType()
- Specified by:
getJoinType
in interfaceFetch<Z,X>
-
fetch
public <Y> Fetch<X,Y> fetch(SingularAttribute<? super X,Y> attribute)
- Specified by:
fetch
in interfaceFetchParent<Z,X>
-
fetch
public <Y> Fetch<X,Y> fetch(SingularAttribute<? super X,Y> attribute, JoinType jt)
- Specified by:
fetch
in interfaceFetchParent<Z,X>
-
fetch
public <Y> Fetch<X,Y> fetch(PluralAttribute<? super X,?,Y> attribute)
- Specified by:
fetch
in interfaceFetchParent<Z,X>
-
fetch
public <Y> Fetch<X,Y> fetch(PluralAttribute<? super X,?,Y> attribute, JoinType jt)
- Specified by:
fetch
in interfaceFetchParent<Z,X>
-
fetch
public <X,Y> Fetch<X,Y> fetch(String attributeName)
- Specified by:
fetch
in interfaceFetchParent<Z,X>
-
-