Class FileSpec

  • All Implemented Interfaces:
    java.io.Serializable

    @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v4.0.1",
               date="2023-01-02T18:51:33Z")
    public class FileSpec
    extends java.lang.Object
    implements java.io.Serializable

    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

      • disposition

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected Disposition disposition
      • networkHeader

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.util.List<NetworkHeader> networkHeader
      • checkSum

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected byte[] checkSum
      • encoding

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.String encoding
      • fileFormat

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.String fileFormat
      • fileSize

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.Long fileSize
      • fileTemplate

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.util.List<java.lang.String> fileTemplate
      • mimeType

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.String mimeType
      • overwritePolicy

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected FileSpec.OverwritePolicy overwritePolicy
      • password

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.String password
      • resourceUsage

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.String resourceUsage
      • searchDepth

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.Integer searchDepth
      • uid

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.String uid
      • url

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected URI url
      • userFileName

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        protected java.lang.String userFileName
    • Constructor Detail

      • FileSpec

        public FileSpec()
    • Method Detail

      • getDisposition

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public Disposition getDisposition()
        Gets the value of the disposition property.
        Returns:
        possible object is Disposition
      • setDisposition

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setDisposition​(Disposition value)
        Sets the value of the disposition property.
        Parameters:
        value - allowed object is Disposition
      • getNetworkHeader

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        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 Jakarta XML Binding 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

        Returns:
        The value of the networkHeader property.
      • getCheckSum

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public byte[] getCheckSum()
        Gets the value of the checkSum property.
        Returns:
        possible object is String
      • setCheckSum

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setCheckSum​(byte[] value)
        Sets the value of the checkSum property.
        Parameters:
        value - allowed object is String
      • getEncoding

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.String getEncoding()
        Gets the value of the encoding property.
        Returns:
        possible object is String
      • setEncoding

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setEncoding​(java.lang.String value)
        Sets the value of the encoding property.
        Parameters:
        value - allowed object is String
      • getFileFormat

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.String getFileFormat()
        Gets the value of the fileFormat property.
        Returns:
        possible object is String
      • setFileFormat

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setFileFormat​(java.lang.String value)
        Sets the value of the fileFormat property.
        Parameters:
        value - allowed object is String
      • getFileSize

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.Long getFileSize()
        Gets the value of the fileSize property.
        Returns:
        possible object is Long
      • setFileSize

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setFileSize​(java.lang.Long value)
        Sets the value of the fileSize property.
        Parameters:
        value - allowed object is Long
      • getFileTemplate

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        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 Jakarta XML Binding 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

        Returns:
        The value of the fileTemplate property.
      • getMimeType

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.String getMimeType()
        Gets the value of the mimeType property.
        Returns:
        possible object is String
      • setMimeType

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setMimeType​(java.lang.String value)
        Sets the value of the mimeType property.
        Parameters:
        value - allowed object is String
      • getOverwritePolicy

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public FileSpec.OverwritePolicy getOverwritePolicy()
        Gets the value of the overwritePolicy property.
        Returns:
        possible object is FileSpec.OverwritePolicy
      • setOverwritePolicy

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setOverwritePolicy​(FileSpec.OverwritePolicy value)
        Sets the value of the overwritePolicy property.
        Parameters:
        value - allowed object is FileSpec.OverwritePolicy
      • getPassword

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.String getPassword()
        Gets the value of the password property.
        Returns:
        possible object is String
      • setPassword

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setPassword​(java.lang.String value)
        Sets the value of the password property.
        Parameters:
        value - allowed object is String
      • getResourceUsage

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.String getResourceUsage()
        Gets the value of the resourceUsage property.
        Returns:
        possible object is String
      • setResourceUsage

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setResourceUsage​(java.lang.String value)
        Sets the value of the resourceUsage property.
        Parameters:
        value - allowed object is String
      • getSearchDepth

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.Integer getSearchDepth()
        Gets the value of the searchDepth property.
        Returns:
        possible object is Integer
      • setSearchDepth

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setSearchDepth​(java.lang.Integer value)
        Sets the value of the searchDepth property.
        Parameters:
        value - allowed object is Integer
      • getUID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.String getUID()
        Gets the value of the uid property.
        Returns:
        possible object is String
      • setUID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setUID​(java.lang.String value)
        Sets the value of the uid property.
        Parameters:
        value - allowed object is String
      • getURL

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public URI getURL()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setURL

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setURL​(URI value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String
      • getUserFileName

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public java.lang.String getUserFileName()
        Gets the value of the userFileName property.
        Returns:
        possible object is String
      • setUserFileName

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        public void setUserFileName​(java.lang.String value)
        Sets the value of the userFileName property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2023-01-02T18:51:33Z")
        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​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object