public interface ObjectFilter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ObjectFilter.FilterResult
The output of the
ObjectFilter.filter(java.lang.Object) method. |
| Modifier and Type | Method and Description |
|---|---|
ObjectFilter.FilterResult |
filter(Object instance)
Tests if an object instance matches the filter.
|
Comparator<Comparable[]> |
getComparator()
The comparator corresponding to the 'order by' clause, if any.
|
String |
getEntityTypeName()
The fully qualified entity type name accepted by this filter.
|
String[] |
getProjection()
The array of '.' separated path names of the projected fields if any, or
null otherwise. |
SortField[] |
getSortFields()
The array of sort specifications if defined, or
null otherwise. |
String getEntityTypeName()
String[] getProjection()
null otherwise.SortField[] getSortFields()
null otherwise.Comparator<Comparable[]> getComparator()
null if no 'order by' was specifiedObjectFilter.FilterResult filter(Object instance)
instance - the instance to test; this is never nullFilterResult if there is a match or null otherwiseCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.