Package gov.nasa.pds.registry.model
Class PagedResponse<T>
- java.lang.Object
-
- gov.nasa.pds.registry.model.PagedResponse<T>
-
- All Implemented Interfaces:
Serializable
public class PagedResponse<T> extends Object implements Serializable
A class to wrap list responses from the registry with.- Author:
- pramirez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PagedResponse()
PagedResponse(Integer start, Long numFound)
PagedResponse(Integer start, Long numFound, List<T> results)
PagedResponse(List<T> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getNumFound()
List<T>
getResults()
Integer
getStart()
void
setNumFound(Long numFound)
void
setResults(List<T> results)
void
setStart(Integer start)
-