Class FileType

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

.

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


 <complexType name="FileType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
         <element name="path" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
         <element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="hash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="refreshFlag" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="sequence" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="storage" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
         <element name="storageDefinition" type="{http://xml.vidispine.com/schema/vidispine}StorageType" minOccurs="0"/>
         <element name="item" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
                   <element name="shape" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
                             <element name="component" maxOccurs="unbounded" minOccurs="0">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <sequence>
                                       <element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
                                     </sequence>
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}SimpleMetadataType" minOccurs="0"/>
         <element name="range" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • FileType

      public FileType()
  • Method Details

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

      public String getPath()
      Gets the value of the path property.
      Returns:
      possible object is String
    • setPath

      public void setPath(String value)
      Sets the value of the path property.
      Parameters:
      value - allowed object is String
    • isSetPath

      public boolean isSetPath()
    • getUri

      public List<String> getUri()
      Gets the value of the uri 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 uri property.

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

       getUri().add(newItem);
       

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

      Returns:
      The value of the uri property.
    • isSetUri

      public boolean isSetUri()
    • unsetUri

      public void unsetUri()
    • getState

      public String getState()
      Gets the value of the state property.
      Returns:
      possible object is String
    • setState

      public void setState(String value)
      Sets the value of the state property.
      Parameters:
      value - allowed object is String
    • isSetState

      public boolean isSetState()
    • getSize

      public Long getSize()
      Gets the value of the size property.
      Returns:
      possible object is Long
    • setSize

      public void setSize(Long value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is Long
    • isSetSize

      public boolean isSetSize()
    • getHash

      public String getHash()
      Gets the value of the hash property.
      Returns:
      possible object is String
    • setHash

      public void setHash(String value)
      Sets the value of the hash property.
      Parameters:
      value - allowed object is String
    • isSetHash

      public boolean isSetHash()
    • getTimestamp

      public XMLGregorianCalendar getTimestamp()
      Gets the value of the timestamp property.
      Returns:
      possible object is XMLGregorianCalendar
    • setTimestamp

      public void setTimestamp(XMLGregorianCalendar value)
      Sets the value of the timestamp property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetTimestamp

      public boolean isSetTimestamp()
    • getRefreshFlag

      public Integer getRefreshFlag()
      Gets the value of the refreshFlag property.
      Returns:
      possible object is Integer
    • setRefreshFlag

      public void setRefreshFlag(Integer value)
      Sets the value of the refreshFlag property.
      Parameters:
      value - allowed object is Integer
    • isSetRefreshFlag

      public boolean isSetRefreshFlag()
    • isSequence

      public Boolean isSequence()
      Gets the value of the sequence property.
      Returns:
      possible object is Boolean
    • setSequence

      public void setSequence(Boolean value)
      Sets the value of the sequence property.
      Parameters:
      value - allowed object is Boolean
    • isSetSequence

      public boolean isSetSequence()
    • getStorage

      public String getStorage()
      Gets the value of the storage property.
      Returns:
      possible object is String
    • setStorage

      public void setStorage(String value)
      Sets the value of the storage property.
      Parameters:
      value - allowed object is String
    • isSetStorage

      public boolean isSetStorage()
    • getStorageDefinition

      public StorageType getStorageDefinition()
      Gets the value of the storageDefinition property.
      Returns:
      possible object is StorageType
    • setStorageDefinition

      public void setStorageDefinition(StorageType value)
      Sets the value of the storageDefinition property.
      Parameters:
      value - allowed object is StorageType
    • isSetStorageDefinition

      public boolean isSetStorageDefinition()
    • getItem

      public List<FileType.Item> getItem()
      Gets the value of the item 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 item property.

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

       getItem().add(newItem);
       

      Objects of the following type(s) are allowed in the list FileType.Item

      Returns:
      The value of the item property.
    • isSetItem

      public boolean isSetItem()
    • unsetItem

      public void unsetItem()
    • getMetadata

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

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

      public boolean isSetMetadata()
    • getRange

      public List<FileType.Range> getRange()
      Gets the value of the range 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 range property.

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

       getRange().add(newItem);
       

      Objects of the following type(s) are allowed in the list FileType.Range

      Returns:
      The value of the range property.
    • isSetRange

      public boolean isSetRange()
    • unsetRange

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

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

      public FileType withPath(String value)
      Sets the value of the path property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withUri

      public FileType withUri(String... values)
      Adds objects to the list of Uri using add method
      Parameters:
      values - objects to add to the list Uri
      Returns:
      The class instance
    • withUri

      public FileType withUri(Collection<String> values)
      Adds objects to the list of Uri using addAll method
      Parameters:
      values - objects to add to the list Uri
      Returns:
      The class instance
    • withState

      public FileType withState(String value)
      Sets the value of the state property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withSize

      public FileType withSize(Long value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is Long
      Returns:
      The class instance
    • withHash

      public FileType withHash(String value)
      Sets the value of the hash property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withTimestamp

      public FileType withTimestamp(XMLGregorianCalendar value)
      Sets the value of the timestamp property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withRefreshFlag

      public FileType withRefreshFlag(Integer value)
      Sets the value of the refreshFlag property.
      Parameters:
      value - allowed object is Integer
      Returns:
      The class instance
    • withSequence

      public FileType withSequence(Boolean value)
      Sets the value of the sequence property.
      Parameters:
      value - allowed object is Boolean
      Returns:
      The class instance
    • withStorage

      public FileType withStorage(String value)
      Sets the value of the storage property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withStorageDefinition

      public FileType withStorageDefinition(StorageType value)
      Sets the value of the storageDefinition property.
      Parameters:
      value - allowed object is StorageType
      Returns:
      The class instance
    • withItem

      public FileType withItem(FileType.Item... values)
      Adds objects to the list of Item using add method
      Parameters:
      values - objects to add to the list Item
      Returns:
      The class instance
    • withItem

      public FileType withItem(Collection<FileType.Item> values)
      Adds objects to the list of Item using addAll method
      Parameters:
      values - objects to add to the list Item
      Returns:
      The class instance
    • withMetadata

      public FileType withMetadata(SimpleMetadataType value)
      Sets the value of the metadata property.
      Parameters:
      value - allowed object is SimpleMetadataType
      Returns:
      The class instance
    • withRange

      public FileType withRange(FileType.Range... values)
      Adds objects to the list of Range using add method
      Parameters:
      values - objects to add to the list Range
      Returns:
      The class instance
    • withRange

      public FileType withRange(Collection<FileType.Range> values)
      Adds objects to the list of Range using addAll method
      Parameters:
      values - objects to add to the list Range
      Returns:
      The class instance
    • withType

      public FileType withType(String value)
      Sets the value of the type 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 FileType 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