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="autocomplete" type="{http://xml.vidispine.com/schema/vidispine}AutocompleteResponseType" 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 | Class and Description |
---|---|
static class |
SearchResultType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected List<AutocompleteResponseType> |
autocomplete |
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<AutocompleteResponseType> autocomplete
protected List<SearchResultEntryType> entry
public Integer getHits()
Integer
public void setHits(Integer value)
value
- allowed object is
Integer
public 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<AutocompleteResponseType> getAutocomplete()
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 autocomplete property.
For example, to add a new item, do as follows:
getAutocomplete().add(newItem);
Objects of the following type(s) are allowed in the list
AutocompleteResponseType
public boolean isSetAutocomplete()
public void unsetAutocomplete()
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.CopyTo
public 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.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public SearchResultType withHits(Integer value)
public SearchResultType withSuggestion(SuggestionResultType... values)
public SearchResultType withSuggestion(Collection<SuggestionResultType> values)
public SearchResultType withAutocomplete(AutocompleteResponseType... values)
public SearchResultType withAutocomplete(Collection<AutocompleteResponseType> values)
public SearchResultType withEntry(SearchResultEntryType... values)
public SearchResultType withEntry(Collection<SearchResultEntryType> values)
public SearchResultType withFacet(FacetType... values)
public SearchResultType withFacet(Collection<FacetType> values)
public SearchResultType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2017. All rights reserved.