|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.rest.model.jaxb.LinkCollection
org.xwiki.rest.model.jaxb.SearchResults
public class SearchResults
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://www.xwiki.org}LinkCollection">
<sequence>
<element name="searchResult" type="{http://www.xwiki.org}SearchResult" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="template" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<SearchResult> |
searchResults
|
protected String |
template
|
| Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection |
|---|
links |
| Constructor Summary | |
|---|---|
SearchResults()
|
|
| Method Summary | |
|---|---|
List<SearchResult> |
getSearchResults()
Gets the value of the searchResults property. |
String |
getTemplate()
Gets the value of the template property. |
void |
setTemplate(String value)
Sets the value of the template property. |
SearchResults |
withLinks(Collection<Link> values)
|
SearchResults |
withLinks(Link... values)
|
SearchResults |
withSearchResults(Collection<SearchResult> values)
|
SearchResults |
withSearchResults(SearchResult... values)
|
SearchResults |
withTemplate(String value)
|
| Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection |
|---|
getLinks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<SearchResult> searchResults
protected String template
| Constructor Detail |
|---|
public SearchResults()
| Method Detail |
|---|
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 String getTemplate()
Stringpublic void setTemplate(String value)
value - allowed object is
Stringpublic SearchResults withSearchResults(SearchResult... values)
public SearchResults withSearchResults(Collection<SearchResult> values)
public SearchResults withTemplate(String value)
public SearchResults withLinks(Link... values)
withLinks in class LinkCollectionpublic SearchResults withLinks(Collection<Link> values)
withLinks in class LinkCollection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||