Class SearchResultEntryType

  • All Implemented Interfaces:
    Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class SearchResultEntryType
    extends Object
    implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    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:
    Serialized Form
    • Constructor Detail

      • SearchResultEntryType

        public SearchResultEntryType()
    • Method Detail

      • 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

      • 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()
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • copyTo

        public Object copyTo​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object