Class FileReferenceType

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

.

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


 <complexType name="FileReferenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="path" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         </choice>
         <element name="hash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="file" type="{http://xml.vidispine.com/schema/vidispine}FileType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • FileReferenceType

      public FileReferenceType()
  • 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()
    • 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()
    • getStatus

      public String getStatus()
      Gets the value of the status property.
      Returns:
      possible object is String
    • setStatus

      public void setStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
    • isSetStatus

      public boolean isSetStatus()
    • getFile

      public List<FileType> getFile()
      Gets the value of the file 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 file property.

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

       getFile().add(newItem);
       

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

      Returns:
      The value of the file property.
    • isSetFile

      public boolean isSetFile()
    • unsetFile

      public void unsetFile()
    • 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 FileReferenceType withId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withPath

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

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

      public FileReferenceType withStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withFile

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

      public FileReferenceType withFile(Collection<FileType> values)
      Adds objects to the list of File using addAll method
      Parameters:
      values - objects to add to the list File
      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 FileReferenceType 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