Package nl.vpro.domain.media.search
Class AbstractSearchResult<T>
java.lang.Object
nl.vpro.domain.media.search.AbstractSearchResult<T>
- All Implemented Interfaces:
Iterable<T>
,SearchResult<T>
- Direct Known Subclasses:
LocationSearchResult
,MediaSearchResult
,ScheduleSearchResult
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface nl.vpro.domain.media.search.SearchResult
iterator, size
-
Field Details
-
count
The total number of results (when no pager would have been applied) -
result
-
-
Constructor Details
-
AbstractSearchResult
public AbstractSearchResult() -
AbstractSearchResult
-
-
Method Details
-
getResult
- Specified by:
getResult
in interfaceSearchResult<T>
-
setResult
-
toString
-
stream
- Since:
- 7.2
-
getCount
The total number of results (when no pager would have been applied)- Specified by:
getCount
in interfaceSearchResult<T>
-
setCount
The total number of results (when no pager would have been applied)
-