Class FileSpec

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class FileSpec
    extends java.lang.Object
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}Disposition" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}NetworkHeader" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="CheckSum" type="{http://www.w3.org/2001/XMLSchema}hexBinary" />
           <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="FileFormat" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="FileSize" type="{http://www.w3.org/2001/XMLSchema}long" />
           <attribute name="FileTemplate" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="OverwritePolicy">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Overwrite"/>
                 <enumeration value="RenameNew"/>
                 <enumeration value="RenameOld"/>
                 <enumeration value="NewVersion"/>
                 <enumeration value="OperatorIntervention"/>
                 <enumeration value="Abort"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="Password" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="ResourceUsage" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="SearchDepth" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="UID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="URL" type="{http://www.CIP4.org/JDFSchema_2_0}URL" />
           <attribute name="UserFileName" type="{http://www.w3.org/2001/XMLSchema}string" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • networkHeader

        protected java.util.List<NetworkHeader> networkHeader
      • checkSum

        protected byte[] checkSum
      • encoding

        protected java.lang.String encoding
      • fileFormat

        protected java.lang.String fileFormat
      • fileSize

        protected java.lang.Long fileSize
      • fileTemplate

        protected java.util.List<java.lang.String> fileTemplate
      • mimeType

        protected java.lang.String mimeType
      • password

        protected java.lang.String password
      • resourceUsage

        protected java.lang.String resourceUsage
      • searchDepth

        protected java.lang.Integer searchDepth
      • uid

        protected java.lang.String uid
      • url

        protected URI url
      • userFileName

        protected java.lang.String userFileName
    • Constructor Detail

      • FileSpec

        public FileSpec()
    • Method Detail

      • getDisposition

        public Disposition getDisposition()
        Gets the value of the disposition property.
        Returns:
        possible object is Disposition
      • setDisposition

        public void setDisposition​(Disposition value)
        Sets the value of the disposition property.
        Parameters:
        value - allowed object is Disposition
      • getNetworkHeader

        public java.util.List<NetworkHeader> getNetworkHeader()
        Gets the value of the networkHeader 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 networkHeader property.

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

            getNetworkHeader().add(newItem);
         

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

      • getCheckSum

        public byte[] getCheckSum()
        Gets the value of the checkSum property.
        Returns:
        possible object is String
      • setCheckSum

        public void setCheckSum​(byte[] value)
        Sets the value of the checkSum property.
        Parameters:
        value - allowed object is String
      • getEncoding

        public java.lang.String getEncoding()
        Gets the value of the encoding property.
        Returns:
        possible object is String
      • setEncoding

        public void setEncoding​(java.lang.String value)
        Sets the value of the encoding property.
        Parameters:
        value - allowed object is String
      • getFileFormat

        public java.lang.String getFileFormat()
        Gets the value of the fileFormat property.
        Returns:
        possible object is String
      • setFileFormat

        public void setFileFormat​(java.lang.String value)
        Sets the value of the fileFormat property.
        Parameters:
        value - allowed object is String
      • getFileSize

        public java.lang.Long getFileSize()
        Gets the value of the fileSize property.
        Returns:
        possible object is Long
      • setFileSize

        public void setFileSize​(java.lang.Long value)
        Sets the value of the fileSize property.
        Parameters:
        value - allowed object is Long
      • getFileTemplate

        public java.util.List<java.lang.String> getFileTemplate()
        Gets the value of the fileTemplate 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 fileTemplate property.

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

            getFileTemplate().add(newItem);
         

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

      • getMimeType

        public java.lang.String getMimeType()
        Gets the value of the mimeType property.
        Returns:
        possible object is String
      • setMimeType

        public void setMimeType​(java.lang.String value)
        Sets the value of the mimeType property.
        Parameters:
        value - allowed object is String
      • getPassword

        public java.lang.String getPassword()
        Gets the value of the password property.
        Returns:
        possible object is String
      • setPassword

        public void setPassword​(java.lang.String value)
        Sets the value of the password property.
        Parameters:
        value - allowed object is String
      • getResourceUsage

        public java.lang.String getResourceUsage()
        Gets the value of the resourceUsage property.
        Returns:
        possible object is String
      • setResourceUsage

        public void setResourceUsage​(java.lang.String value)
        Sets the value of the resourceUsage property.
        Parameters:
        value - allowed object is String
      • getSearchDepth

        public java.lang.Integer getSearchDepth()
        Gets the value of the searchDepth property.
        Returns:
        possible object is Integer
      • setSearchDepth

        public void setSearchDepth​(java.lang.Integer value)
        Sets the value of the searchDepth property.
        Parameters:
        value - allowed object is Integer
      • getUID

        public java.lang.String getUID()
        Gets the value of the uid property.
        Returns:
        possible object is String
      • setUID

        public void setUID​(java.lang.String value)
        Sets the value of the uid property.
        Parameters:
        value - allowed object is String
      • getURL

        public URI getURL()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setURL

        public void setURL​(URI value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String
      • getUserFileName

        public java.lang.String getUserFileName()
        Gets the value of the userFileName property.
        Returns:
        possible object is String
      • setUserFileName

        public void setUserFileName​(java.lang.String value)
        Sets the value of the userFileName property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null
      • withCheckSum

        public FileSpec withCheckSum​(byte[] value)
      • withEncoding

        public FileSpec withEncoding​(java.lang.String value)
      • withFileFormat

        public FileSpec withFileFormat​(java.lang.String value)
      • withFileSize

        public FileSpec withFileSize​(java.lang.Long value)
      • withFileTemplate

        public FileSpec withFileTemplate​(java.lang.String... values)
      • withFileTemplate

        public FileSpec withFileTemplate​(java.util.Collection<java.lang.String> values)
      • withMimeType

        public FileSpec withMimeType​(java.lang.String value)
      • withPassword

        public FileSpec withPassword​(java.lang.String value)
      • withResourceUsage

        public FileSpec withResourceUsage​(java.lang.String value)
      • withSearchDepth

        public FileSpec withSearchDepth​(java.lang.Integer value)
      • withUID

        public FileSpec withUID​(java.lang.String value)
      • withUserFileName

        public FileSpec withUserFileName​(java.lang.String value)
      • equals

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

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • 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 java.lang.Object