Class SearchResultType
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.ToString
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:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AutocompleteResponseType>protected List<SearchResultEntryType>protected Integerprotected Stringprotected List<SuggestionResultType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) booleanbooleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) Gets the value of the autocomplete property.getEntry()Gets the value of the entry property.getFacet()Gets the value of the facet property.getHits()Gets the value of the hits property.Gets the value of the nextCursor property.Gets the value of the suggestion property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanbooleanbooleanbooleanbooleanvoidSets the value of the hits property.voidsetNextCursor(String value) Sets the value of the nextCursor property.toString()voidvoidvoidvoidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) withAutocomplete(AutocompleteResponseType... values) Adds objects to the list of Autocomplete using add methodAdds objects to the list of Autocomplete using addAll methodwithEntry(SearchResultEntryType... values) Adds objects to the list of Entry using add methodwithEntry(Collection<SearchResultEntryType> values) Adds objects to the list of Entry using addAll methodAdds objects to the list of Facet using add methodwithFacet(Collection<FacetType> values) Adds objects to the list of Facet using addAll methodSets the value of the hits property.withNextCursor(String value) Sets the value of the nextCursor property.withSuggestion(SuggestionResultType... values) Adds objects to the list of Suggestion using add methodwithSuggestion(Collection<SuggestionResultType> values) Adds objects to the list of Suggestion using addAll method
-
Field Details
-
hits
-
suggestion
-
autocomplete
-
entry
-
facet
-
nextCursor
-
-
Constructor Details
-
SearchResultType
public SearchResultType()
-
-
Method Details
-
getHits
Gets the value of the hits property.- Returns:
- possible object is
Integer
-
setHits
Sets the value of the hits property.- Parameters:
value- allowed object isInteger
-
isSetHits
public boolean isSetHits() -
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- Returns:
- The value of the suggestion property.
-
isSetSuggestion
public boolean isSetSuggestion() -
unsetSuggestion
public void unsetSuggestion() -
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- Returns:
- The value of the autocomplete property.
-
isSetAutocomplete
public boolean isSetAutocomplete() -
unsetAutocomplete
public void unsetAutocomplete() -
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- Returns:
- The value of the entry property.
-
isSetEntry
public boolean isSetEntry() -
unsetEntry
public void unsetEntry() -
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- Returns:
- The value of the facet property.
-
isSetFacet
public boolean isSetFacet() -
unsetFacet
public void unsetFacet() -
getNextCursor
Gets the value of the nextCursor property.- Returns:
- possible object is
String
-
setNextCursor
Sets the value of the nextCursor property.- Parameters:
value- allowed object isString
-
isSetNextCursor
public boolean isSetNextCursor() -
clone
-
copyTo
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) - Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo
-
withHits
Sets the value of the hits property.- Parameters:
value- allowed object isInteger- Returns:
- The class instance
-
withSuggestion
Adds objects to the list of Suggestion using add method- Parameters:
values- objects to add to the list Suggestion- Returns:
- The class instance
-
withSuggestion
Adds objects to the list of Suggestion using addAll method- Parameters:
values- objects to add to the list Suggestion- Returns:
- The class instance
-
withAutocomplete
Adds objects to the list of Autocomplete using add method- Parameters:
values- objects to add to the list Autocomplete- Returns:
- The class instance
-
withAutocomplete
Adds objects to the list of Autocomplete using addAll method- Parameters:
values- objects to add to the list Autocomplete- Returns:
- The class instance
-
withEntry
Adds objects to the list of Entry using add method- Parameters:
values- objects to add to the list Entry- Returns:
- The class instance
-
withEntry
Adds objects to the list of Entry using addAll method- Parameters:
values- objects to add to the list Entry- Returns:
- The class instance
-
withFacet
Adds objects to the list of Facet using add method- Parameters:
values- objects to add to the list Facet- Returns:
- The class instance
-
withFacet
Adds objects to the list of Facet using addAll method- Parameters:
values- objects to add to the list Facet- Returns:
- The class instance
-
withNextCursor
Sets the value of the nextCursor property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-