Class CollectionListType

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

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="CollectionListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="hits" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="collection" type="{http://xml.vidispine.com/schema/vidispine}CollectionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="facet" type="{http://xml.vidispine.com/schema/vidispine}FacetType" maxOccurs="unbounded" 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="nextCursor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • CollectionListType

      public CollectionListType()
  • Method Details

    • getHits

      public BigInteger getHits()
      Gets the value of the hits property.
      Returns:
      possible object is BigInteger
    • setHits

      public void setHits(BigInteger value)
      Sets the value of the hits property.
      Parameters:
      value - allowed object is BigInteger
    • isSetHits

      public boolean isSetHits()
    • getCollection

      public List<CollectionType> getCollection()
      Gets the value of the collection 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 collection property.

      For example, to add a new item, do as follows:

       getCollection().add(newItem);
       

      Objects of the following type(s) are allowed in the list CollectionType

      Returns:
      The value of the collection property.
    • isSetCollection

      public boolean isSetCollection()
    • unsetCollection

      public void unsetCollection()
    • 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

      Returns:
      The value of the facet property.
    • isSetFacet

      public boolean isSetFacet()
    • unsetFacet

      public void unsetFacet()
    • 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

      Returns:
      The value of the suggestion property.
    • 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

      Returns:
      The value of the autocomplete property.
    • isSetAutocomplete

      public boolean isSetAutocomplete()
    • unsetAutocomplete

      public void unsetAutocomplete()
    • 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 is String
    • isSetNextCursor

      public boolean isSetNextCursor()
    • 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
    • withHits

      public CollectionListType withHits(BigInteger value)
      Sets the value of the hits property.
      Parameters:
      value - allowed object is BigInteger
      Returns:
      The class instance
    • withCollection

      public CollectionListType withCollection(CollectionType... values)
      Adds objects to the list of Collection using add method
      Parameters:
      values - objects to add to the list Collection
      Returns:
      The class instance
    • withCollection

      public CollectionListType withCollection(Collection<CollectionType> values)
      Adds objects to the list of Collection using addAll method
      Parameters:
      values - objects to add to the list Collection
      Returns:
      The class instance
    • withFacet

      public CollectionListType withFacet(FacetType... 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 CollectionListType withFacet(Collection<FacetType> values)
      Adds objects to the list of Facet using addAll method
      Parameters:
      values - objects to add to the list Facet
      Returns:
      The class instance
    • withSuggestion

      public CollectionListType withSuggestion(SuggestionResultType... values)
      Adds objects to the list of Suggestion using add method
      Parameters:
      values - objects to add to the list Suggestion
      Returns:
      The class instance
    • withSuggestion

      public CollectionListType withSuggestion(Collection<SuggestionResultType> values)
      Adds objects to the list of Suggestion using addAll method
      Parameters:
      values - objects to add to the list Suggestion
      Returns:
      The class instance
    • withAutocomplete

      public CollectionListType withAutocomplete(AutocompleteResponseType... 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 CollectionListType withAutocomplete(Collection<AutocompleteResponseType> values)
      Adds objects to the list of Autocomplete using addAll method
      Parameters:
      values - objects to add to the list Autocomplete
      Returns:
      The class instance
    • withNextCursor

      public CollectionListType withNextCursor(String value)
      Sets the value of the nextCursor 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 CollectionListType 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