org.oslc.asset.internal
Class QueryResult<T>

java.lang.Object
  extended by org.oslc.asset.internal.Resource
      extended by org.oslc.asset.internal.QueryResult<T>

public class QueryResult<T>
extends Resource

The response to a OSLC Query

Since:
7.5

Field Summary
protected  java.lang.String nextPage
           
protected  int pageSize
           
protected  java.lang.String previousPage
           
protected  java.util.List<T> results
           
protected  int startIndex
           
protected  int totalCount
           
 
Fields inherited from class org.oslc.asset.internal.Resource
about, base, etag, title
 
Constructor Summary
QueryResult()
           
 
Method Summary
 java.lang.String getNextPage()
           
 int getPageSize()
           
 java.lang.String getPreviousPage()
           
 java.util.List<T> getResults()
           
 int getStartIndex()
           
 int getTotalCount()
           
 void setNextPage(java.lang.String nextPage)
           
 void setPageSize(int pageSize)
           
 void setPreviousPage(java.lang.String previousPage)
           
 void setStartIndex(int startIndex)
           
 void setTotalCount(int totalCount)
           
 
Methods inherited from class org.oslc.asset.internal.Resource
getAbout, getBase, getEtag, getTitle, setAbout, setBase, setEtag, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

totalCount

protected int totalCount

pageSize

protected int pageSize

startIndex

protected int startIndex

nextPage

protected java.lang.String nextPage

previousPage

protected java.lang.String previousPage

results

protected java.util.List<T> results
Constructor Detail

QueryResult

public QueryResult()
Method Detail

getTotalCount

public int getTotalCount()
Returns:
Returns the totalCount.
Since:
7.5

setTotalCount

public void setTotalCount(int totalCount)
Parameters:
totalCount - The totalCount to set.
Since:
7.5

getPageSize

public int getPageSize()
Returns:
Returns the pageSize.
Since:
7.5

setPageSize

public void setPageSize(int pageSize)
Parameters:
pageSize - The pageSize to set.
Since:
7.5

getStartIndex

public int getStartIndex()
Returns:
Returns the startIndex.
Since:
7.5

setStartIndex

public void setStartIndex(int startIndex)
Parameters:
startIndex - The startIndex to set.
Since:
7.5

getNextPage

public java.lang.String getNextPage()
Returns:
Returns the nextPage.
Since:
7.5

setNextPage

public void setNextPage(java.lang.String nextPage)
Parameters:
nextPage - The nextPage to set.
Since:
7.5

getPreviousPage

public java.lang.String getPreviousPage()
Returns:
Returns the previousPage.
Since:
7.5

setPreviousPage

public void setPreviousPage(java.lang.String previousPage)
Parameters:
previousPage - The previousPage to set.
Since:
7.5

getResults

public java.util.List<T> getResults()
Returns:
Returns the results.
Since:
7.5