gov.nasa.pds.registry.model
Class PagedResponse<T>

java.lang.Object
  extended by 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
PagedResponse()
           
PagedResponse(Integer start, Long numFound)
           
PagedResponse(Integer start, Long numFound, List<T> results)
           
PagedResponse(List<T> results)
           
 
Method Summary
 Long getNumFound()
           
 List<T> getResults()
           
 Integer getStart()
           
 void setNumFound(Long numFound)
           
 void setResults(List<T> results)
           
 void setStart(Integer start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagedResponse

public PagedResponse()

PagedResponse

public PagedResponse(Integer start,
                     Long numFound)

PagedResponse

public PagedResponse(List<T> results)

PagedResponse

public PagedResponse(Integer start,
                     Long numFound,
                     List<T> results)
Method Detail

getStart

public Integer getStart()

setStart

public void setStart(Integer start)

getNumFound

public Long getNumFound()

setNumFound

public void setNumFound(Long numFound)

getResults

public List<T> getResults()

setResults

public void setResults(List<T> results)


Copyright © 2010–2015 Planetary Data System. All rights reserved.