Class SearchType

java.lang.Object
com.vidispine.generated.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

public class SearchType extends Object implements 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:
  • Field Details

  • Constructor Details

    • SearchType

      public SearchType()
  • Method Details

    • getText

      public List<ItemSearchTextValueType> 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 set method 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

      public List<SearchFieldType> 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 set method 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

      public SearchTimespanType getTimespans()
      Gets the value of the timespans property.
      Returns:
      possible object is SearchTimespanType
    • setTimespans

      public void setTimespans(SearchTimespanType value)
      Sets the value of the timespans property.
      Parameters:
      value - allowed object is SearchTimespanType
    • isSetTimespans

      public boolean isSetTimespans()
    • getOperator

      public OperatorType getOperator()
      Gets the value of the operator property.
      Returns:
      possible object is OperatorType
    • setOperator

      public void setOperator(OperatorType value)
      Sets the value of the operator property.
      Parameters:
      value - allowed object is OperatorType
    • isSetOperator

      public boolean isSetOperator()
    • getFacet

      public List<SearchFacetType> 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 SearchFacetType

      Returns:
      The value of the facet property.
    • isSetFacet

      public boolean isSetFacet()
    • unsetFacet

      public void unsetFacet()
    • getSort

      public List<SearchType.Sort> 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 set method 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

      public SearchHighlightType getHighlight()
      Gets the value of the highlight property.
      Returns:
      possible object is SearchHighlightType
    • setHighlight

      public void setHighlight(SearchHighlightType value)
      Sets the value of the highlight property.
      Parameters:
      value - allowed object is SearchHighlightType
    • isSetHighlight

      public boolean isSetHighlight()
    • getSuggestion

      public SuggestionSearchType getSuggestion()
      Gets the value of the suggestion property.
      Returns:
      possible object is SuggestionSearchType
    • setSuggestion

      public void setSuggestion(SuggestionSearchType value)
      Sets the value of the suggestion property.
      Parameters:
      value - allowed object is SuggestionSearchType
    • isSetSuggestion

      public boolean isSetSuggestion()
    • getAutocomplete

      public List<AutocompleteRequestType> 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 AutocompleteRequestType

      Returns:
      The value of the autocomplete property.
    • isSetAutocomplete

      public boolean isSetAutocomplete()
    • unsetAutocomplete

      public void unsetAutocomplete()
    • getCursor

      public String getCursor()
      Gets the value of the cursor property.
      Returns:
      possible object is String
    • setCursor

      public void setCursor(String value)
      Sets the value of the cursor property.
      Parameters:
      value - allowed object is String
    • isSetCursor

      public boolean isSetCursor()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withText

      public SearchType withText(ItemSearchTextValueType... values)
      Adds objects to the list of Text using add method
      Parameters:
      values - objects to add to the list Text
      Returns:
      The class instance
    • withText

      public SearchType withText(Collection<ItemSearchTextValueType> values)
      Adds objects to the list of Text using addAll method
      Parameters:
      values - objects to add to the list Text
      Returns:
      The class instance
    • withField

      public SearchType withField(SearchFieldType... values)
      Adds objects to the list of Field using add method
      Parameters:
      values - objects to add to the list Field
      Returns:
      The class instance
    • withField

      public SearchType withField(Collection<SearchFieldType> values)
      Adds objects to the list of Field using addAll method
      Parameters:
      values - objects to add to the list Field
      Returns:
      The class instance
    • withTimespans

      public SearchType withTimespans(SearchTimespanType value)
      Sets the value of the timespans property.
      Parameters:
      value - allowed object is SearchTimespanType
      Returns:
      The class instance
    • withOperator

      public SearchType withOperator(OperatorType value)
      Sets the value of the operator property.
      Parameters:
      value - allowed object is OperatorType
      Returns:
      The class instance
    • withFacet

      public SearchType withFacet(SearchFacetType... values)
      Adds objects to the list of Facet using add method
      Parameters:
      values - objects to add to the list Facet
      Returns:
      The class instance
    • withFacet

      public SearchType withFacet(Collection<SearchFacetType> values)
      Adds objects to the list of Facet using addAll method
      Parameters:
      values - objects to add to the list Facet
      Returns:
      The class instance
    • withSort

      public SearchType withSort(SearchType.Sort... values)
      Adds objects to the list of Sort using add method
      Parameters:
      values - objects to add to the list Sort
      Returns:
      The class instance
    • withSort

      public SearchType withSort(Collection<SearchType.Sort> values)
      Adds objects to the list of Sort using addAll method
      Parameters:
      values - objects to add to the list Sort
      Returns:
      The class instance
    • withHighlight

      public SearchType withHighlight(SearchHighlightType value)
      Sets the value of the highlight property.
      Parameters:
      value - allowed object is SearchHighlightType
      Returns:
      The class instance
    • withSuggestion

      public SearchType withSuggestion(SuggestionSearchType value)
      Sets the value of the suggestion property.
      Parameters:
      value - allowed object is SuggestionSearchType
      Returns:
      The class instance
    • withAutocomplete

      public SearchType withAutocomplete(AutocompleteRequestType... values)
      Adds objects to the list of Autocomplete using add method
      Parameters:
      values - objects to add to the list Autocomplete
      Returns:
      The class instance
    • withAutocomplete

      public SearchType withAutocomplete(Collection<AutocompleteRequestType> values)
      Adds objects to the list of Autocomplete using addAll method
      Parameters:
      values - objects to add to the list Autocomplete
      Returns:
      The class instance
    • withCursor

      public SearchType withCursor(String value)
      Sets the value of the cursor property.
      Parameters:
      value - allowed object is String
      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:
      equals in interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public SearchType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString