Class FileSpec
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.FileSpec
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public class FileSpec extends java.lang.Object implements java.io.SerializableJava 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileSpec.OverwritePolicyJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected byte[]checkSumprotected Dispositiondispositionprotected java.lang.Stringencodingprotected java.lang.StringfileFormatprotected java.lang.LongfileSizeprotected java.util.List<java.lang.String>fileTemplateprotected java.lang.StringmimeTypeprotected java.util.List<NetworkHeader>networkHeaderprotected FileSpec.OverwritePolicyoverwritePolicyprotected java.lang.Stringpasswordprotected java.lang.StringresourceUsageprotected java.lang.IntegersearchDepthprotected java.lang.Stringuidprotected URIurlprotected java.lang.StringuserFileName
-
Constructor Summary
Constructors Constructor Description FileSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)byte[]getCheckSum()Gets the value of the checkSum property.DispositiongetDisposition()Gets the value of the disposition property.java.lang.StringgetEncoding()Gets the value of the encoding property.java.lang.StringgetFileFormat()Gets the value of the fileFormat property.java.lang.LonggetFileSize()Gets the value of the fileSize property.java.util.List<java.lang.String>getFileTemplate()Gets the value of the fileTemplate property.java.lang.StringgetMimeType()Gets the value of the mimeType property.java.util.List<NetworkHeader>getNetworkHeader()Gets the value of the networkHeader property.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.FileSpec.OverwritePolicygetOverwritePolicy()Gets the value of the overwritePolicy property.java.lang.StringgetPassword()Gets the value of the password property.java.lang.StringgetResourceUsage()Gets the value of the resourceUsage property.java.lang.IntegergetSearchDepth()Gets the value of the searchDepth property.java.lang.StringgetUID()Gets the value of the uid property.URIgetURL()Gets the value of the url property.java.lang.StringgetUserFileName()Gets the value of the userFileName property.inthashCode()voidsetCheckSum(byte[] value)Sets the value of the checkSum property.voidsetDisposition(Disposition value)Sets the value of the disposition property.voidsetEncoding(java.lang.String value)Sets the value of the encoding property.voidsetFileFormat(java.lang.String value)Sets the value of the fileFormat property.voidsetFileSize(java.lang.Long value)Sets the value of the fileSize property.voidsetMimeType(java.lang.String value)Sets the value of the mimeType property.voidsetOverwritePolicy(FileSpec.OverwritePolicy value)Sets the value of the overwritePolicy property.voidsetPassword(java.lang.String value)Sets the value of the password property.voidsetResourceUsage(java.lang.String value)Sets the value of the resourceUsage property.voidsetSearchDepth(java.lang.Integer value)Sets the value of the searchDepth property.voidsetUID(java.lang.String value)Sets the value of the uid property.voidsetURL(URI value)Sets the value of the url property.voidsetUserFileName(java.lang.String value)Sets the value of the userFileName property.FileSpecwithCheckSum(byte[] value)FileSpecwithDisposition(Disposition value)FileSpecwithEncoding(java.lang.String value)FileSpecwithFileFormat(java.lang.String value)FileSpecwithFileSize(java.lang.Long value)FileSpecwithFileTemplate(java.lang.String... values)FileSpecwithFileTemplate(java.util.Collection<java.lang.String> values)FileSpecwithMimeType(java.lang.String value)FileSpecwithNetworkHeader(java.util.Collection<NetworkHeader> values)FileSpecwithNetworkHeader(NetworkHeader... values)FileSpecwithOverwritePolicy(FileSpec.OverwritePolicy value)FileSpecwithPassword(java.lang.String value)FileSpecwithResourceUsage(java.lang.String value)FileSpecwithSearchDepth(java.lang.Integer value)FileSpecwithUID(java.lang.String value)FileSpecwithURL(URI value)FileSpecwithUserFileName(java.lang.String value)
-
-
-
Field Detail
-
disposition
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected Disposition disposition
-
networkHeader
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.util.List<NetworkHeader> networkHeader
-
checkSum
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected byte[] checkSum
-
encoding
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String encoding
-
fileFormat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String fileFormat
-
fileSize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.Long fileSize
-
fileTemplate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.util.List<java.lang.String> fileTemplate
-
mimeType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String mimeType
-
overwritePolicy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected FileSpec.OverwritePolicy overwritePolicy
-
password
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String password
-
resourceUsage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String resourceUsage
-
searchDepth
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.Integer searchDepth
-
uid
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String uid
-
url
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected URI url
-
userFileName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String userFileName
-
-
Method Detail
-
getDisposition
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setDisposition(Disposition value)Sets the value of the disposition property.- Parameters:
value- allowed object isDisposition
-
getNetworkHeader
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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
setmethod 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.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setCheckSum(byte[] value)Sets the value of the checkSum property.- Parameters:
value- allowed object isString
-
getEncoding
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setEncoding(java.lang.String value)Sets the value of the encoding property.- Parameters:
value- allowed object isString
-
getFileFormat
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setFileFormat(java.lang.String value)Sets the value of the fileFormat property.- Parameters:
value- allowed object isString
-
getFileSize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setFileSize(java.lang.Long value)Sets the value of the fileSize property.- Parameters:
value- allowed object isLong
-
getFileTemplate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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
setmethod 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.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setMimeType(java.lang.String value)Sets the value of the mimeType property.- Parameters:
value- allowed object isString
-
getOverwritePolicy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setOverwritePolicy(FileSpec.OverwritePolicy value)Sets the value of the overwritePolicy property.- Parameters:
value- allowed object isFileSpec.OverwritePolicy
-
getPassword
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setPassword(java.lang.String value)Sets the value of the password property.- Parameters:
value- allowed object isString
-
getResourceUsage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setResourceUsage(java.lang.String value)Sets the value of the resourceUsage property.- Parameters:
value- allowed object isString
-
getSearchDepth
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setSearchDepth(java.lang.Integer value)Sets the value of the searchDepth property.- Parameters:
value- allowed object isInteger
-
getUID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setUID(java.lang.String value)Sets the value of the uid property.- Parameters:
value- allowed object isString
-
getURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setURL(URI value)Sets the value of the url property.- Parameters:
value- allowed object isString
-
getUserFileName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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.2", date="2023-07-17T18:40:39Z") public void setUserFileName(java.lang.String value)Sets the value of the userFileName property.- Parameters:
value- allowed object isString
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") 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
-
withDisposition
public FileSpec withDisposition(Disposition value)
-
withNetworkHeader
public FileSpec withNetworkHeader(NetworkHeader... values)
-
withNetworkHeader
public FileSpec withNetworkHeader(java.util.Collection<NetworkHeader> values)
-
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)
-
withOverwritePolicy
public FileSpec withOverwritePolicy(FileSpec.OverwritePolicy 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-