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:p64359_="https://jakarta.ee/xml/ns/jaxb" xmlns:p844335_="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 Stringcreatorprotected AttachmentFileDataTypedataprotected StringfileNameprotected 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()Gets the value of the creator property.AttachmentFileDataTypegetData()Gets the value of the data property.StringgetFileName()Gets the value of the fileName property.StringgetMimeType()Gets the value of the mimeType property.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
-
mimeType
protected String mimeType
-
creator
protected String creator
-
-
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()
Gets the value of the fileName property.- Returns:
- possible object is
String
-
setFileName
public void setFileName(String value)
Sets the value of the fileName property.- Parameters:
value- allowed object isString
-
isSetFileName
public boolean isSetFileName()
-
getMimeType
public String getMimeType()
Gets the value of the mimeType property.- Returns:
- possible object is
String
-
setMimeType
public void setMimeType(String value)
Sets the value of the mimeType property.- Parameters:
value- allowed object isString
-
isSetMimeType
public boolean isSetMimeType()
-
getCreator
public String getCreator()
Gets the value of the creator property.- Returns:
- possible object is
String
-
setCreator
public void setCreator(String value)
Sets the value of the creator property.- Parameters:
value- allowed object isString
-
isSetCreator
public boolean isSetCreator()
-
-