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 class
SearchResultType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<AutocompleteResponseType>
autocomplete
protected List<SearchResultEntryType>
entry
protected List<FacetType>
facet
protected Integer
hits
protected String
nextCursor
protected List<SuggestionResultType>
suggestion
-
Constructor Summary
Constructors Constructor Description SearchResultType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 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.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.Integer
getHits()
Gets the value of the hits property.String
getNextCursor()
Gets the value of the nextCursor property.List<SuggestionResultType>
getSuggestion()
Gets the value of the suggestion property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetAutocomplete()
boolean
isSetEntry()
boolean
isSetFacet()
boolean
isSetHits()
boolean
isSetNextCursor()
boolean
isSetSuggestion()
void
setHits(Integer value)
Sets the value of the hits property.void
setNextCursor(String value)
Sets the value of the nextCursor 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(SearchResultEntryType... values)
SearchResultType
withEntry(Collection<SearchResultEntryType> values)
SearchResultType
withFacet(FacetType... values)
SearchResultType
withFacet(Collection<FacetType> values)
SearchResultType
withHits(Integer value)
SearchResultType
withNextCursor(String value)
SearchResultType
withSuggestion(SuggestionResultType... values)
SearchResultType
withSuggestion(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
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
-
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
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
-
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
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
-
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
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
-
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:
copyTo
in 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:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in 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:
equals
in 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:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-