|
|||||||||
| 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 java.util.List<SearchResult> |
searchResults
|
protected java.lang.String |
template
|
| Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection |
|---|
links |
| Constructor Summary | |
|---|---|
SearchResults()
|
|
| Method Summary | |
|---|---|
java.util.List<SearchResult> |
getSearchResults()
Gets the value of the searchResults property. |
java.lang.String |
getTemplate()
Gets the value of the template property. |
void |
setTemplate(java.lang.String value)
Sets the value of the template property. |
SearchResults |
withLinks(java.util.Collection<Link> values)
|
SearchResults |
withLinks(Link... values)
|
SearchResults |
withSearchResults(java.util.Collection<SearchResult> values)
|
SearchResults |
withSearchResults(SearchResult... values)
|
SearchResults |
withTemplate(java.lang.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 java.util.List<SearchResult> searchResults
protected java.lang.String template
| Constructor Detail |
|---|
public SearchResults()
| Method Detail |
|---|
public java.util.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 java.lang.String getTemplate()
Stringpublic void setTemplate(java.lang.String value)
value - allowed object is
Stringpublic SearchResults withSearchResults(SearchResult... values)
public SearchResults withSearchResults(java.util.Collection<SearchResult> values)
public SearchResults withTemplate(java.lang.String value)
public SearchResults withLinks(Link... values)
withLinks in class LinkCollectionpublic SearchResults withLinks(java.util.Collection<Link> values)
withLinks in class LinkCollection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||