public class SearchResponse extends Object
Java class for searchResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="searchResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="endIndex" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="pageSize" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="searchResults" type="{}searchResult" maxOccurs="unbounded" minOccurs="0"/> <element name="startIndex" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="totalRecordCount" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected int |
endIndex |
protected FacetResult |
facetResult |
protected int |
pageSize |
protected List<SearchResult> |
searchResults |
protected int |
startIndex |
protected int |
totalRecordCount |
Constructor and Description |
---|
SearchResponse() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(String content) |
int |
getEndIndex()
Gets the value of the endIndex property.
|
FacetResult |
getFacetResult() |
int |
getPageSize()
Gets the value of the pageSize property.
|
List<SearchResult> |
getSearchResults()
Gets the value of the searchResults property.
|
int |
getStartIndex()
Gets the value of the startIndex property.
|
int |
getTotalRecordCount()
Gets the value of the totalRecordCount property.
|
String |
serialize(Object object) |
void |
setEndIndex(int value)
Sets the value of the endIndex property.
|
void |
setFacetResult(FacetResult facetResult) |
void |
setPageSize(int value)
Sets the value of the pageSize property.
|
void |
setStartIndex(int value)
Sets the value of the startIndex property.
|
void |
setTotalRecordCount(int value)
Sets the value of the totalRecordCount property.
|
protected int endIndex
protected int pageSize
protected List<SearchResult> searchResults
protected int startIndex
protected int totalRecordCount
protected FacetResult facetResult
public SearchResponse()
public FacetResult getFacetResult()
public void setFacetResult(FacetResult facetResult)
public int getEndIndex()
public void setEndIndex(int value)
public int getPageSize()
public void setPageSize(int value)
public List<SearchResult> getSearchResults()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the searchResults property.
For example, to add a new item, do as follows:
getSearchResults().add(newItem);
Objects of the following type(s) are allowed in the list
SearchResult
public int getStartIndex()
public void setStartIndex(int value)
public int getTotalRecordCount()
public void setTotalRecordCount(int value)
public Object deserialize(String content)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.