Class FileAttachmentType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.FileAttachmentType
-
public class FileAttachmentType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define an individual file attachment that should be added to the PDF document. This element can be used multiple times if you want to add multiple files.</p>
Java class for FileAttachmentType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="FileAttachmentType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="data" type="{http://schema.webpdf.de/1.0/operation}AttachmentFileDataType"/> <element name="annotation" type="{http://schema.webpdf.de/1.0/operation}FileAnnotationType" minOccurs="0"/> </all> <attribute name="fileName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="creator" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected FileAnnotationTypeannotationprotected Stringcreator<?protected AttachmentFileDataTypedataprotected StringfileName<?protected StringmimeType<?
-
Constructor Summary
Constructors Constructor Description FileAttachmentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileAnnotationTypegetAnnotation()Gets the value of the annotation property.StringgetCreator()<?AttachmentFileDataTypegetData()Gets the value of the data property.StringgetFileName()<?StringgetMimeType()<?booleanisSetAnnotation()booleanisSetCreator()booleanisSetData()booleanisSetFileName()booleanisSetMimeType()voidsetAnnotation(FileAnnotationType value)Sets the value of the annotation property.voidsetCreator(String value)Sets the value of the creator property.voidsetData(AttachmentFileDataType value)Sets the value of the data property.voidsetFileName(String value)Sets the value of the fileName property.voidsetMimeType(String value)Sets the value of the mimeType property.
-
-
-
Field Detail
-
data
protected AttachmentFileDataType data
-
annotation
protected FileAnnotationType annotation
-
fileName
protected String fileName
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define the name under which the attachment in the document will be created.</p>
-
mimeType
protected String mimeType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Can be used to set an optional MIME data type for the attachment. If you leave this value blank, the "application/octet-stream" MIME data type will be used.</p>
-
creator
protected String creator
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Can be used to set an author for the attachment. If you leave this value blank, the currently active system user will be used.</p>
-
-
Method Detail
-
getData
public AttachmentFileDataType getData()
Gets the value of the data property.- Returns:
- possible object is
AttachmentFileDataType
-
setData
public void setData(AttachmentFileDataType value)
Sets the value of the data property.- Parameters:
value- allowed object isAttachmentFileDataType
-
isSetData
public boolean isSetData()
-
getAnnotation
public FileAnnotationType getAnnotation()
Gets the value of the annotation property.- Returns:
- possible object is
FileAnnotationType
-
setAnnotation
public void setAnnotation(FileAnnotationType value)
Sets the value of the annotation property.- Parameters:
value- allowed object isFileAnnotationType
-
isSetAnnotation
public boolean isSetAnnotation()
-
getFileName
public String getFileName()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define the name under which the attachment in the document will be created.</p>
- Returns:
- possible object is
String
-
setFileName
public void setFileName(String value)
Sets the value of the fileName property.- Parameters:
value- allowed object isString- See Also:
getFileName()
-
isSetFileName
public boolean isSetFileName()
-
getMimeType
public String getMimeType()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Can be used to set an optional MIME data type for the attachment. If you leave this value blank, the "application/octet-stream" MIME data type will be used.</p>
- Returns:
- possible object is
String
-
setMimeType
public void setMimeType(String value)
Sets the value of the mimeType property.- Parameters:
value- allowed object isString- See Also:
getMimeType()
-
isSetMimeType
public boolean isSetMimeType()
-
getCreator
public String getCreator()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Can be used to set an author for the attachment. If you leave this value blank, the currently active system user will be used.</p>
- Returns:
- possible object is
String
-
setCreator
public void setCreator(String value)
Sets the value of the creator property.- Parameters:
value- allowed object isString- See Also:
getCreator()
-
isSetCreator
public boolean isSetCreator()
-
-