Class SearchType
- 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 SearchType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="text" type="{http://xml.vidispine.com/schema/vidispine}ItemSearchTextValueType" maxOccurs="unbounded" minOccurs="0"/>
<element name="field" type="{http://xml.vidispine.com/schema/vidispine}SearchFieldType" maxOccurs="unbounded" minOccurs="0"/>
<element name="timespans" type="{http://xml.vidispine.com/schema/vidispine}SearchTimespanType" minOccurs="0"/>
<element name="operator" type="{http://xml.vidispine.com/schema/vidispine}OperatorType" minOccurs="0"/>
<element name="facet" type="{http://xml.vidispine.com/schema/vidispine}SearchFacetType" maxOccurs="unbounded" minOccurs="0"/>
<element name="sort" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="order" type="{http://xml.vidispine.com/schema/vidispine}SortingOrderType"/>
<element name="nested" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="highlight" type="{http://xml.vidispine.com/schema/vidispine}SearchHighlightType" minOccurs="0"/>
<element name="suggestion" type="{http://xml.vidispine.com/schema/vidispine}SuggestionSearchType" minOccurs="0"/>
<element name="autocomplete" type="{http://xml.vidispine.com/schema/vidispine}AutocompleteRequestType" maxOccurs="unbounded" minOccurs="0"/>
<element name="cursor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AutocompleteRequestType>protected Stringprotected List<SearchFacetType>protected List<SearchFieldType>protected SearchHighlightTypeprotected OperatorTypeprotected List<SearchType.Sort>protected SuggestionSearchTypeprotected List<ItemSearchTextValueType>protected SearchTimespanType -
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.Gets the value of the cursor property.getFacet()Gets the value of the facet property.getField()Gets the value of the field property.Gets the value of the highlight property.Gets the value of the operator property.getSort()Gets the value of the sort property.Gets the value of the suggestion property.getText()Gets the value of the text property.Gets the value of the timespans property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidSets the value of the cursor property.voidsetHighlight(SearchHighlightType value) Sets the value of the highlight property.voidsetOperator(OperatorType value) Sets the value of the operator property.voidSets the value of the suggestion property.voidsetTimespans(SearchTimespanType value) Sets the value of the timespans property.toString()voidvoidvoidvoidvoidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) withAutocomplete(AutocompleteRequestType... values) Adds objects to the list of Autocomplete using add methodAdds objects to the list of Autocomplete using addAll methodwithCursor(String value) Sets the value of the cursor property.withFacet(SearchFacetType... values) Adds objects to the list of Facet using add methodwithFacet(Collection<SearchFacetType> values) Adds objects to the list of Facet using addAll methodwithField(SearchFieldType... values) Adds objects to the list of Field using add methodwithField(Collection<SearchFieldType> values) Adds objects to the list of Field using addAll methodwithHighlight(SearchHighlightType value) Sets the value of the highlight property.withOperator(OperatorType value) Sets the value of the operator property.withSort(SearchType.Sort... values) Adds objects to the list of Sort using add methodwithSort(Collection<SearchType.Sort> values) Adds objects to the list of Sort using addAll methodSets the value of the suggestion property.withText(ItemSearchTextValueType... values) Adds objects to the list of Text using add methodwithText(Collection<ItemSearchTextValueType> values) Adds objects to the list of Text using addAll methodwithTimespans(SearchTimespanType value) Sets the value of the timespans property.
-
Field Details
-
text
-
field
-
timespans
-
operator
-
facet
-
sort
-
highlight
-
suggestion
-
autocomplete
-
cursor
-
-
Constructor Details
-
SearchType
public SearchType()
-
-
Method Details
-
getText
Gets the value of the text 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 text property.For example, to add a new item, do as follows:
getText().add(newItem);
Objects of the following type(s) are allowed in the list
ItemSearchTextValueType- Returns:
- The value of the text property.
-
isSetText
public boolean isSetText() -
unsetText
public void unsetText() -
getField
Gets the value of the field 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 field property.For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
SearchFieldType- Returns:
- The value of the field property.
-
isSetField
public boolean isSetField() -
unsetField
public void unsetField() -
getTimespans
Gets the value of the timespans property.- Returns:
- possible object is
SearchTimespanType
-
setTimespans
Sets the value of the timespans property.- Parameters:
value- allowed object isSearchTimespanType
-
isSetTimespans
public boolean isSetTimespans() -
getOperator
Gets the value of the operator property.- Returns:
- possible object is
OperatorType
-
setOperator
Sets the value of the operator property.- Parameters:
value- allowed object isOperatorType
-
isSetOperator
public boolean isSetOperator() -
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
SearchFacetType- Returns:
- The value of the facet property.
-
isSetFacet
public boolean isSetFacet() -
unsetFacet
public void unsetFacet() -
getSort
Gets the value of the sort 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 sort property.For example, to add a new item, do as follows:
getSort().add(newItem);
Objects of the following type(s) are allowed in the list
SearchType.Sort- Returns:
- The value of the sort property.
-
isSetSort
public boolean isSetSort() -
unsetSort
public void unsetSort() -
getHighlight
Gets the value of the highlight property.- Returns:
- possible object is
SearchHighlightType
-
setHighlight
Sets the value of the highlight property.- Parameters:
value- allowed object isSearchHighlightType
-
isSetHighlight
public boolean isSetHighlight() -
getSuggestion
Gets the value of the suggestion property.- Returns:
- possible object is
SuggestionSearchType
-
setSuggestion
Sets the value of the suggestion property.- Parameters:
value- allowed object isSuggestionSearchType
-
isSetSuggestion
public boolean isSetSuggestion() -
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
AutocompleteRequestType- Returns:
- The value of the autocomplete property.
-
isSetAutocomplete
public boolean isSetAutocomplete() -
unsetAutocomplete
public void unsetAutocomplete() -
getCursor
Gets the value of the cursor property.- Returns:
- possible object is
String
-
setCursor
Sets the value of the cursor property.- Parameters:
value- allowed object isString
-
isSetCursor
public boolean isSetCursor() -
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
-
withText
Adds objects to the list of Text using add method- Parameters:
values- objects to add to the list Text- Returns:
- The class instance
-
withText
Adds objects to the list of Text using addAll method- Parameters:
values- objects to add to the list Text- Returns:
- The class instance
-
withField
Adds objects to the list of Field using add method- Parameters:
values- objects to add to the list Field- Returns:
- The class instance
-
withField
Adds objects to the list of Field using addAll method- Parameters:
values- objects to add to the list Field- Returns:
- The class instance
-
withTimespans
Sets the value of the timespans property.- Parameters:
value- allowed object isSearchTimespanType- Returns:
- The class instance
-
withOperator
Sets the value of the operator property.- Parameters:
value- allowed object isOperatorType- 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
-
withSort
Adds objects to the list of Sort using add method- Parameters:
values- objects to add to the list Sort- Returns:
- The class instance
-
withSort
Adds objects to the list of Sort using addAll method- Parameters:
values- objects to add to the list Sort- Returns:
- The class instance
-
withHighlight
Sets the value of the highlight property.- Parameters:
value- allowed object isSearchHighlightType- Returns:
- The class instance
-
withSuggestion
Sets the value of the suggestion property.- Parameters:
value- allowed object isSuggestionSearchType- 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
-
withCursor
Sets the value of the cursor 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
-