Class ItemType

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

.

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


 <complexType name="ItemType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}MetadataType" minOccurs="0"/>
         <element name="thumbnails" type="{http://xml.vidispine.com/schema/vidispine}URIListType" minOccurs="0"/>
         <element name="posters" type="{http://xml.vidispine.com/schema/vidispine}URIListType" minOccurs="0"/>
         <element name="files" type="{http://xml.vidispine.com/schema/vidispine}URIListType" minOccurs="0"/>
         <element name="terse" type="{http://xml.vidispine.com/schema/vidispine}GenericType" minOccurs="0"/>
         <element name="shape" type="{http://xml.vidispine.com/schema/vidispine}ShapeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="merged-access" type="{http://xml.vidispine.com/schema/vidispine}AccessControlMergedType" minOccurs="0"/>
         <element name="access" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="timespan" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="field" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                             <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="externalId" type="{http://xml.vidispine.com/schema/vidispine}ExternalIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" />
       <attribute name="start" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="end" 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

    • ItemType

      public ItemType()
  • Method Details

    • getMetadata

      public MetadataType getMetadata()
      Gets the value of the metadata property.
      Returns:
      possible object is MetadataType
    • setMetadata

      public void setMetadata(MetadataType value)
      Sets the value of the metadata property.
      Parameters:
      value - allowed object is MetadataType
    • isSetMetadata

      public boolean isSetMetadata()
    • getThumbnails

      public URIListType getThumbnails()
      Gets the value of the thumbnails property.
      Returns:
      possible object is URIListType
    • setThumbnails

      public void setThumbnails(URIListType value)
      Sets the value of the thumbnails property.
      Parameters:
      value - allowed object is URIListType
    • isSetThumbnails

      public boolean isSetThumbnails()
    • getPosters

      public URIListType getPosters()
      Gets the value of the posters property.
      Returns:
      possible object is URIListType
    • setPosters

      public void setPosters(URIListType value)
      Sets the value of the posters property.
      Parameters:
      value - allowed object is URIListType
    • isSetPosters

      public boolean isSetPosters()
    • getFiles

      public URIListType getFiles()
      Gets the value of the files property.
      Returns:
      possible object is URIListType
    • setFiles

      public void setFiles(URIListType value)
      Sets the value of the files property.
      Parameters:
      value - allowed object is URIListType
    • isSetFiles

      public boolean isSetFiles()
    • getTerse

      public GenericType getTerse()
      Gets the value of the terse property.
      Returns:
      possible object is GenericType
    • setTerse

      public void setTerse(GenericType value)
      Sets the value of the terse property.
      Parameters:
      value - allowed object is GenericType
    • isSetTerse

      public boolean isSetTerse()
    • getShape

      public List<ShapeType> getShape()
      Gets the value of the shape 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 shape property.

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

       getShape().add(newItem);
       

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

      Returns:
      The value of the shape property.
    • isSetShape

      public boolean isSetShape()
    • unsetShape

      public void unsetShape()
    • getMergedAccess

      public AccessControlMergedType getMergedAccess()
      Gets the value of the mergedAccess property.
      Returns:
      possible object is AccessControlMergedType
    • setMergedAccess

      public void setMergedAccess(AccessControlMergedType value)
      Sets the value of the mergedAccess property.
      Parameters:
      value - allowed object is AccessControlMergedType
    • isSetMergedAccess

      public boolean isSetMergedAccess()
    • getAccess

      public List<ItemType.Access> getAccess()
      Gets the value of the access 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 access property.

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

       getAccess().add(newItem);
       

      Objects of the following type(s) are allowed in the list ItemType.Access

      Returns:
      The value of the access property.
    • isSetAccess

      public boolean isSetAccess()
    • unsetAccess

      public void unsetAccess()
    • getTimespan

      public List<ItemType.Timespan> 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 ItemType.Timespan

      Returns:
      The value of the timespan property.
    • isSetTimespan

      public boolean isSetTimespan()
    • unsetTimespan

      public void unsetTimespan()
    • getExternalId

      public List<ExternalIdentifierType> getExternalId()
      Gets the value of the externalId 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 externalId property.

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

       getExternalId().add(newItem);
       

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

      Returns:
      The value of the externalId property.
    • isSetExternalId

      public boolean isSetExternalId()
    • unsetExternalId

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

      public ItemType withMetadata(MetadataType value)
      Sets the value of the metadata property.
      Parameters:
      value - allowed object is MetadataType
      Returns:
      The class instance
    • withThumbnails

      public ItemType withThumbnails(URIListType value)
      Sets the value of the thumbnails property.
      Parameters:
      value - allowed object is URIListType
      Returns:
      The class instance
    • withPosters

      public ItemType withPosters(URIListType value)
      Sets the value of the posters property.
      Parameters:
      value - allowed object is URIListType
      Returns:
      The class instance
    • withFiles

      public ItemType withFiles(URIListType value)
      Sets the value of the files property.
      Parameters:
      value - allowed object is URIListType
      Returns:
      The class instance
    • withTerse

      public ItemType withTerse(GenericType value)
      Sets the value of the terse property.
      Parameters:
      value - allowed object is GenericType
      Returns:
      The class instance
    • withShape

      public ItemType withShape(ShapeType... values)
      Adds objects to the list of Shape using add method
      Parameters:
      values - objects to add to the list Shape
      Returns:
      The class instance
    • withShape

      public ItemType withShape(Collection<ShapeType> values)
      Adds objects to the list of Shape using addAll method
      Parameters:
      values - objects to add to the list Shape
      Returns:
      The class instance
    • withMergedAccess

      public ItemType withMergedAccess(AccessControlMergedType value)
      Sets the value of the mergedAccess property.
      Parameters:
      value - allowed object is AccessControlMergedType
      Returns:
      The class instance
    • withAccess

      public ItemType withAccess(ItemType.Access... values)
      Adds objects to the list of Access using add method
      Parameters:
      values - objects to add to the list Access
      Returns:
      The class instance
    • withAccess

      public ItemType withAccess(Collection<ItemType.Access> values)
      Adds objects to the list of Access using addAll method
      Parameters:
      values - objects to add to the list Access
      Returns:
      The class instance
    • withTimespan

      public ItemType withTimespan(ItemType.Timespan... 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

      public ItemType withTimespan(Collection<ItemType.Timespan> values)
      Adds objects to the list of Timespan using addAll method
      Parameters:
      values - objects to add to the list Timespan
      Returns:
      The class instance
    • withExternalId

      public ItemType withExternalId(ExternalIdentifierType... values)
      Adds objects to the list of ExternalId using add method
      Parameters:
      values - objects to add to the list ExternalId
      Returns:
      The class instance
    • withExternalId

      public ItemType withExternalId(Collection<ExternalIdentifierType> values)
      Adds objects to the list of ExternalId using addAll method
      Parameters:
      values - objects to add to the list ExternalId
      Returns:
      The class instance
    • withId

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

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

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

      public ItemType 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 ItemType 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