public class SearchResultType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals
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() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<AutocompleteResponseType> |
getAutocomplete()
Gets the value of the autocomplete property.
|
List<SearchResultEntryType> |
getEntry()
Gets the value of the entry property.
|
List<FacetType> |
getFacet()
Gets the value of the facet property.
|
Integer |
getHits()
Gets the value of the hits property.
|
List<SuggestionResultType> |
getSuggestion()
Gets the value of the suggestion property.
|
boolean |
isSetAutocomplete() |
boolean |
isSetEntry() |
boolean |
isSetFacet() |
boolean |
isSetHits() |
boolean |
isSetSuggestion() |
void |
setHits(Integer value)
Sets the value of the hits property.
|
void |
unsetAutocomplete() |
void |
unsetEntry() |
void |
unsetFacet() |
void |
unsetSuggestion() |
SearchResultType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
SearchResultType |
withAutocomplete(AutocompleteResponseType... values) |
SearchResultType |
withAutocomplete(Collection<AutocompleteResponseType> values) |
SearchResultType |
withEntry(Collection<SearchResultEntryType> values) |
SearchResultType |
withEntry(SearchResultEntryType... values) |
SearchResultType |
withFacet(Collection<FacetType> values) |
SearchResultType |
withFacet(FacetType... values) |
SearchResultType |
withHits(Integer value) |
SearchResultType |
withSuggestion(Collection<SuggestionResultType> values) |
SearchResultType |
withSuggestion(SuggestionResultType... values) |
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 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public SearchResultType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2018. All rights reserved.