public class SearchResultType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for SearchResultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchResultType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="hits" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="suggestion" type="{http://xml.vidispine.com/schema/vidispine}SuggestionResultType" maxOccurs="unbounded" minOccurs="0"/>
<element name="entry" type="{http://xml.vidispine.com/schema/vidispine}SearchResultEntryType" maxOccurs="unbounded" minOccurs="0"/>
<element name="facet" type="{http://xml.vidispine.com/schema/vidispine}FacetType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<SearchResultEntryType> |
entry |
protected List<FacetType> |
facet |
protected Integer |
hits |
protected List<SuggestionResultType> |
suggestion |
| Constructor and Description |
|---|
SearchResultType() |
protected Integer hits
protected List<SuggestionResultType> suggestion
protected List<SearchResultEntryType> entry
public Integer getHits()
Integerpublic void setHits(Integer value)
value - allowed object is
Integerpublic boolean isSetHits()
public List<SuggestionResultType> getSuggestion()
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 suggestion property.
For example, to add a new item, do as follows:
getSuggestion().add(newItem);
Objects of the following type(s) are allowed in the list
SuggestionResultType
public boolean isSetSuggestion()
public void unsetSuggestion()
public List<SearchResultEntryType> getEntry()
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 entry property.
For example, to add a new item, do as follows:
getEntry().add(newItem);
Objects of the following type(s) are allowed in the list
SearchResultEntryType
public boolean isSetEntry()
public void unsetEntry()
public List<FacetType> getFacet()
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 facet property.
For example, to add a new item, do as follows:
getFacet().add(newItem);
Objects of the following type(s) are allowed in the list
FacetType
public boolean isSetFacet()
public void unsetFacet()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic SearchResultType withHits(Integer value)
public SearchResultType withSuggestion(SuggestionResultType... values)
public SearchResultType withSuggestion(Collection<SuggestionResultType> values)
public SearchResultType withEntry(SearchResultEntryType... values)
public SearchResultType withEntry(Collection<SearchResultEntryType> values)
public SearchResultType withFacet(FacetType... values)
public SearchResultType withFacet(Collection<FacetType> values)
Copyright © 2015. All rights reserved.