Class SearchResultEntryType

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

.

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


 <complexType name="SearchResultEntryType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="item" type="{http://xml.vidispine.com/schema/vidispine}ItemType"/>
           <element name="collection" type="{http://xml.vidispine.com/schema/vidispine}CollectionType"/>
           <element name="shape" type="{http://xml.vidispine.com/schema/vidispine}ShapeType"/>
           <element name="file" type="{http://xml.vidispine.com/schema/vidispine}FileType"/>
         </choice>
         <element name="timespan" type="{http://xml.vidispine.com/schema/vidispine}SearchResultEntryTimespanType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="start" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="end" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="parent_type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="parent_id" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="base" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • SearchResultEntryType

      public SearchResultEntryType()
  • Method Details

    • getItem

      public ItemType getItem()
      Gets the value of the item property.
      Returns:
      possible object is ItemType
    • setItem

      public void setItem(ItemType value)
      Sets the value of the item property.
      Parameters:
      value - allowed object is ItemType
    • isSetItem

      public boolean isSetItem()
    • getCollection

      public CollectionType getCollection()
      Gets the value of the collection property.
      Returns:
      possible object is CollectionType
    • setCollection

      public void setCollection(CollectionType value)
      Sets the value of the collection property.
      Parameters:
      value - allowed object is CollectionType
    • isSetCollection

      public boolean isSetCollection()
    • getShape

      public ShapeType getShape()
      Gets the value of the shape property.
      Returns:
      possible object is ShapeType
    • setShape

      public void setShape(ShapeType value)
      Sets the value of the shape property.
      Parameters:
      value - allowed object is ShapeType
    • isSetShape

      public boolean isSetShape()
    • getFile

      public FileType getFile()
      Gets the value of the file property.
      Returns:
      possible object is FileType
    • setFile

      public void setFile(FileType value)
      Sets the value of the file property.
      Parameters:
      value - allowed object is FileType
    • isSetFile

      public boolean isSetFile()
    • getTimespan

      public List<SearchResultEntryTimespanType> getTimespan()
      Gets the value of the timespan 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 timespan property.

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

       getTimespan().add(newItem);
       

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

      Returns:
      The value of the timespan property.
    • isSetTimespan

      public boolean isSetTimespan()
    • unsetTimespan

      public void unsetTimespan()
    • getStart

      public String getStart()
      Gets the value of the start property.
      Returns:
      possible object is String
    • setStart

      public void setStart(String value)
      Sets the value of the start property.
      Parameters:
      value - allowed object is String
    • isSetStart

      public boolean isSetStart()
    • getEnd

      public String getEnd()
      Gets the value of the end property.
      Returns:
      possible object is String
    • setEnd

      public void setEnd(String value)
      Sets the value of the end property.
      Parameters:
      value - allowed object is String
    • isSetEnd

      public boolean isSetEnd()
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • isSetType

      public boolean isSetType()
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • isSetId

      public boolean isSetId()
    • getParentType

      public String getParentType()
      Gets the value of the parentType property.
      Returns:
      possible object is String
    • setParentType

      public void setParentType(String value)
      Sets the value of the parentType property.
      Parameters:
      value - allowed object is String
    • isSetParentType

      public boolean isSetParentType()
    • getParentId

      public String getParentId()
      Gets the value of the parentId property.
      Returns:
      possible object is String
    • setParentId

      public void setParentId(String value)
      Sets the value of the parentId property.
      Parameters:
      value - allowed object is String
    • isSetParentId

      public boolean isSetParentId()
    • getBase

      public String getBase()
      Gets the value of the base property.
      Returns:
      possible object is String
    • setBase

      public void setBase(String value)
      Sets the value of the base property.
      Parameters:
      value - allowed object is String
    • isSetBase

      public boolean isSetBase()
    • 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
    • withItem

      public SearchResultEntryType withItem(ItemType value)
      Sets the value of the item property.
      Parameters:
      value - allowed object is ItemType
      Returns:
      The class instance
    • withCollection

      public SearchResultEntryType withCollection(CollectionType value)
      Sets the value of the collection property.
      Parameters:
      value - allowed object is CollectionType
      Returns:
      The class instance
    • withShape

      public SearchResultEntryType withShape(ShapeType value)
      Sets the value of the shape property.
      Parameters:
      value - allowed object is ShapeType
      Returns:
      The class instance
    • withFile

      public SearchResultEntryType withFile(FileType value)
      Sets the value of the file property.
      Parameters:
      value - allowed object is FileType
      Returns:
      The class instance
    • withTimespan

      public SearchResultEntryType withTimespan(SearchResultEntryTimespanType... values)
      Adds objects to the list of Timespan using add method
      Parameters:
      values - objects to add to the list Timespan
      Returns:
      The class instance
    • withTimespan

      Adds objects to the list of Timespan using addAll method
      Parameters:
      values - objects to add to the list Timespan
      Returns:
      The class instance
    • withStart

      public SearchResultEntryType withStart(String value)
      Sets the value of the start property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withEnd

      public SearchResultEntryType withEnd(String value)
      Sets the value of the end property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withType

      public SearchResultEntryType withType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withId

      public SearchResultEntryType withId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withParentType

      public SearchResultEntryType withParentType(String value)
      Sets the value of the parentType property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withParentId

      public SearchResultEntryType withParentId(String value)
      Sets the value of the parentId property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withBase

      public SearchResultEntryType withBase(String value)
      Sets the value of the base 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 SearchResultEntryType 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