X
- Generic entity type referenced by root.public abstract class RootWrapper<X> extends Object implements Root<X>
A wrapper for Root
, useful in case you intend to decorate it.
Constructor and Description |
---|
RootWrapper(Root<X> wrapped) |
Modifier and Type | Method and Description |
---|---|
Selection<X> |
alias(String name) |
<X> Expression<X> |
as(Class<X> type) |
<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) |
<K,V,M extends Map<K,V>> |
get(MapAttribute<X,K,V> map) |
<E,C extends Collection<E>> |
get(PluralAttribute<X,C,E> collection) |
<Y> Path<Y> |
get(SingularAttribute<? super X,Y> attribute) |
<Y> Path<Y> |
get(String attributeName) |
String |
getAlias() |
List<Selection<?>> |
getCompoundSelectionItems() |
From<X,X> |
getCorrelationParent() |
Set<Fetch<X,?>> |
getFetches() |
Class<? extends X> |
getJavaType() |
Set<Join<X,?>> |
getJoins() |
EntityType<X> |
getModel() |
Path<?> |
getParentPath() |
Root<X> |
getWrapped() |
Predicate |
in(Collection<?> values) |
Predicate |
in(Expression<?>... values) |
Predicate |
in(Expression<Collection<?>> values) |
Predicate |
in(Object... values) |
boolean |
isCompoundSelection() |
boolean |
isCorrelated() |
Predicate |
isNotNull() |
Predicate |
isNull() |
<Y> CollectionJoin<X,Y> |
join(CollectionAttribute<? super X,Y> collection) |
<Y> CollectionJoin<X,Y> |
join(CollectionAttribute<? super X,Y> collection,
JoinType jt) |
<Y> ListJoin<X,Y> |
join(ListAttribute<? super X,Y> list) |
<Y> ListJoin<X,Y> |
join(ListAttribute<? super X,Y> list,
JoinType jt) |
<K,V> MapJoin<X,K,V> |
join(MapAttribute<? super X,K,V> map) |
<K,V> MapJoin<X,K,V> |
join(MapAttribute<? super X,K,V> map,
JoinType jt) |
<Y> SetJoin<X,Y> |
join(SetAttribute<? super X,Y> set) |
<Y> SetJoin<X,Y> |
join(SetAttribute<? super X,Y> set,
JoinType jt) |
<Y> Join<X,Y> |
join(SingularAttribute<? super X,Y> attribute) |
<Y> Join<X,Y> |
join(SingularAttribute<? super X,Y> attribute,
JoinType jt) |
<X,Y> Join<X,Y> |
join(String attributeName) |
<X,Y> Join<X,Y> |
join(String attributeName,
JoinType jt) |
<X,Y> CollectionJoin<X,Y> |
joinCollection(String attributeName) |
<X,Y> CollectionJoin<X,Y> |
joinCollection(String attributeName,
JoinType jt) |
<X,Y> ListJoin<X,Y> |
joinList(String attributeName) |
<X,Y> ListJoin<X,Y> |
joinList(String attributeName,
JoinType jt) |
<X,K,V> MapJoin<X,K,V> |
joinMap(String attributeName) |
<X,K,V> MapJoin<X,K,V> |
joinMap(String attributeName,
JoinType jt) |
<X,Y> SetJoin<X,Y> |
joinSet(String attributeName) |
<X,Y> SetJoin<X,Y> |
joinSet(String attributeName,
JoinType jt) |
Expression<Class<? extends X>> |
type() |
public Predicate isNull()
isNull
in interface Expression<X>
public Class<? extends X> getJavaType()
getJavaType
in interface TupleElement<X>
public EntityType<X> getModel()
public Set<Fetch<X,?>> getFetches()
getFetches
in interface FetchParent<X,X>
public Predicate isNotNull()
isNotNull
in interface Expression<X>
public String getAlias()
getAlias
in interface TupleElement<X>
public Predicate in(Object... values)
in
in interface Expression<X>
public boolean isCompoundSelection()
isCompoundSelection
in interface Selection<X>
public Path<?> getParentPath()
getParentPath
in interface Path<X>
public <Y> Fetch<X,Y> fetch(SingularAttribute<? super X,Y> attribute)
fetch
in interface FetchParent<X,X>
public List<Selection<?>> getCompoundSelectionItems()
getCompoundSelectionItems
in interface Selection<X>
public <Y> Path<Y> get(SingularAttribute<? super X,Y> attribute)
public Predicate in(Expression<?>... values)
in
in interface Expression<X>
public <Y> Fetch<X,Y> fetch(SingularAttribute<? super X,Y> attribute, JoinType jt)
fetch
in interface FetchParent<X,X>
public <E,C extends Collection<E>> Expression<C> get(PluralAttribute<X,C,E> collection)
public Predicate in(Collection<?> values)
in
in interface Expression<X>
public boolean isCorrelated()
isCorrelated
in interface From<X,X>
public <Y> Fetch<X,Y> fetch(PluralAttribute<? super X,?,Y> attribute)
fetch
in interface FetchParent<X,X>
public Predicate in(Expression<Collection<?>> values)
in
in interface Expression<X>
public <K,V,M extends Map<K,V>> Expression<M> get(MapAttribute<X,K,V> map)
public From<X,X> getCorrelationParent()
getCorrelationParent
in interface From<X,X>
public <Y> Fetch<X,Y> fetch(PluralAttribute<? super X,?,Y> attribute, JoinType jt)
fetch
in interface FetchParent<X,X>
public <X> Expression<X> as(Class<X> type)
as
in interface Expression<X>
public <X,Y> Fetch<X,Y> fetch(String attributeName)
fetch
in interface FetchParent<X,X>
public <Y> Join<X,Y> join(SingularAttribute<? super X,Y> attribute)
public <Y> Join<X,Y> join(SingularAttribute<? super X,Y> attribute, JoinType jt)
public <X,Y> Fetch<X,Y> fetch(String attributeName, JoinType jt)
fetch
in interface FetchParent<X,X>
public <Y> CollectionJoin<X,Y> join(CollectionAttribute<? super X,Y> collection)
public <Y> SetJoin<X,Y> join(SetAttribute<? super X,Y> set)
public <Y> ListJoin<X,Y> join(ListAttribute<? super X,Y> list)
public <K,V> MapJoin<X,K,V> join(MapAttribute<? super X,K,V> map)
public <Y> CollectionJoin<X,Y> join(CollectionAttribute<? super X,Y> collection, JoinType jt)
public <Y> SetJoin<X,Y> join(SetAttribute<? super X,Y> set, JoinType jt)
public <Y> ListJoin<X,Y> join(ListAttribute<? super X,Y> list, JoinType jt)
public <K,V> MapJoin<X,K,V> join(MapAttribute<? super X,K,V> map, JoinType jt)
public <X,Y> CollectionJoin<X,Y> joinCollection(String attributeName)
joinCollection
in interface From<X,X>
public <X,Y> CollectionJoin<X,Y> joinCollection(String attributeName, JoinType jt)
joinCollection
in interface From<X,X>
Copyright © 2015–2020 OmniFaces. All rights reserved.