Class FileSpec

java.lang.Object
org.cip4.lib.xjdf.schema.FileSpec
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public class FileSpec extends Object implements 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:
  • Field Details

    • disposition

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Disposition disposition
    • networkHeader

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<NetworkHeader> networkHeader
    • checkSum

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected byte[] checkSum
    • encoding

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String encoding
    • fileFormat

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String fileFormat
    • fileSize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Long fileSize
    • fileTemplate

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<String> fileTemplate
    • mimeType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String mimeType
    • overwritePolicy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected FileSpec.OverwritePolicy overwritePolicy
    • password

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String password
    • resourceUsage

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String resourceUsage
    • searchDepth

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Integer searchDepth
    • uid

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String uid
    • url

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected URI url
    • userFileName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String userFileName
  • Constructor Details

    • FileSpec

      public FileSpec()
  • Method Details

    • getDisposition

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setEncoding(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setFileFormat(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setFileSize(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 v2.3.6", date="2022-12-18T20:00:09Z") public List<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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setMimeType(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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setPassword(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setResourceUsage(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setSearchDepth(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setUID(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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setUserFileName(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 v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,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
    • withDisposition

      public FileSpec withDisposition(Disposition value)
    • withNetworkHeader

      public FileSpec withNetworkHeader(NetworkHeader... values)
    • withNetworkHeader

      public FileSpec withNetworkHeader(Collection<NetworkHeader> values)
    • withCheckSum

      public FileSpec withCheckSum(byte[] value)
    • withEncoding

      public FileSpec withEncoding(String value)
    • withFileFormat

      public FileSpec withFileFormat(String value)
    • withFileSize

      public FileSpec withFileSize(Long value)
    • withFileTemplate

      public FileSpec withFileTemplate(String... values)
    • withFileTemplate

      public FileSpec withFileTemplate(Collection<String> values)
    • withMimeType

      public FileSpec withMimeType(String value)
    • withOverwritePolicy

      public FileSpec withOverwritePolicy(FileSpec.OverwritePolicy value)
    • withPassword

      public FileSpec withPassword(String value)
    • withResourceUsage

      public FileSpec withResourceUsage(String value)
    • withSearchDepth

      public FileSpec withSearchDepth(Integer value)
    • withUID

      public FileSpec withUID(String value)
    • withURL

      public FileSpec withURL(URI value)
    • withUserFileName

      public FileSpec withUserFileName(String value)
    • equals

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

      public boolean equals(Object object)
      Overrides:
      equals in class 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 Object