Class SearchResultType
- java.lang.Object
-
- com.vidispine.generated.SearchResultType
-
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class SearchResultType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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"/> <element name="nextCursor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchResultType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<AutocompleteResponseType>autocompleteprotected List<SearchResultEntryType>entryprotected List<FacetType>facetprotected Integerhitsprotected StringnextCursorprotected List<SuggestionResultType>suggestion
-
Constructor Summary
Constructors Constructor Description SearchResultType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 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.IntegergetHits()Gets the value of the hits property.StringgetNextCursor()Gets the value of the nextCursor property.List<SuggestionResultType>getSuggestion()Gets the value of the suggestion property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetAutocomplete()booleanisSetEntry()booleanisSetFacet()booleanisSetHits()booleanisSetNextCursor()booleanisSetSuggestion()voidsetHits(Integer value)Sets the value of the hits property.voidsetNextCursor(String value)Sets the value of the nextCursor property.voidunsetAutocomplete()voidunsetEntry()voidunsetFacet()voidunsetSuggestion()SearchResultTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)SearchResultTypewithAutocomplete(AutocompleteResponseType... values)SearchResultTypewithAutocomplete(Collection<AutocompleteResponseType> values)SearchResultTypewithEntry(SearchResultEntryType... values)SearchResultTypewithEntry(Collection<SearchResultEntryType> values)SearchResultTypewithFacet(FacetType... values)SearchResultTypewithFacet(Collection<FacetType> values)SearchResultTypewithHits(Integer value)SearchResultTypewithNextCursor(String value)SearchResultTypewithSuggestion(SuggestionResultType... values)SearchResultTypewithSuggestion(Collection<SuggestionResultType> values)
-
-
-
Field Detail
-
hits
protected Integer hits
-
suggestion
protected List<SuggestionResultType> suggestion
-
autocomplete
protected List<AutocompleteResponseType> autocomplete
-
entry
protected List<SearchResultEntryType> entry
-
nextCursor
protected String nextCursor
-
-
Method Detail
-
getHits
public Integer getHits()
Gets the value of the hits property.- Returns:
- possible object is
Integer
-
setHits
public void setHits(Integer value)
Sets the value of the hits property.- Parameters:
value- allowed object isInteger
-
isSetHits
public boolean isSetHits()
-
getSuggestion
public List<SuggestionResultType> getSuggestion()
Gets the value of the suggestion property.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
setmethod 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
-
isSetSuggestion
public boolean isSetSuggestion()
-
unsetSuggestion
public void unsetSuggestion()
-
getAutocomplete
public List<AutocompleteResponseType> getAutocomplete()
Gets the value of the autocomplete property.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
setmethod 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
-
isSetAutocomplete
public boolean isSetAutocomplete()
-
unsetAutocomplete
public void unsetAutocomplete()
-
getEntry
public List<SearchResultEntryType> getEntry()
Gets the value of the entry property.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
setmethod 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
-
isSetEntry
public boolean isSetEntry()
-
unsetEntry
public void unsetEntry()
-
getFacet
public List<FacetType> getFacet()
Gets the value of the facet property.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
setmethod 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
-
isSetFacet
public boolean isSetFacet()
-
unsetFacet
public void unsetFacet()
-
getNextCursor
public String getNextCursor()
Gets the value of the nextCursor property.- Returns:
- possible object is
String
-
setNextCursor
public void setNextCursor(String value)
Sets the value of the nextCursor property.- Parameters:
value- allowed object isString
-
isSetNextCursor
public boolean isSetNextCursor()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withHits
public SearchResultType withHits(Integer value)
-
withSuggestion
public SearchResultType withSuggestion(SuggestionResultType... values)
-
withSuggestion
public SearchResultType withSuggestion(Collection<SuggestionResultType> values)
-
withAutocomplete
public SearchResultType withAutocomplete(AutocompleteResponseType... values)
-
withAutocomplete
public SearchResultType withAutocomplete(Collection<AutocompleteResponseType> values)
-
withEntry
public SearchResultType withEntry(SearchResultEntryType... values)
-
withEntry
public SearchResultType withEntry(Collection<SearchResultEntryType> values)
-
withFacet
public SearchResultType withFacet(FacetType... values)
-
withFacet
public SearchResultType withFacet(Collection<FacetType> values)
-
withNextCursor
public SearchResultType withNextCursor(String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public SearchResultType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-