Class AttachmentType
- java.lang.Object
-
- net.webpdf.wsclient.schema.extraction.info.AttachmentType
-
public class AttachmentType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">This type is used to describe an attachment, that has been embedded in a PDF file. The attachment itself may have connected document information, in that case the "document" element will be set. </p>Java class for AttachmentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttachmentType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://schema.webpdf.de/1.0/extraction/info}document" minOccurs="0"/> </sequence> <attribute name="objectKey" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="number"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="page" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="size" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}double"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="folderId" type="{http://www.w3.org/2001/XMLSchema}int" default="0" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description AttachmentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the value of the description property.DocumentTypegetDocumentType()Gets the value of the documentType property.intgetFolderId()Gets the value of the folderId property.StringgetMimeType()Gets the value of the mimeType property.StringgetName()Gets the value of the name property.intgetNumber()Gets the value of the number property.StringgetObjectKey()Gets the value of the objectKey property.intgetPage()Gets the value of the page property.doublegetSize()Gets the value of the size property.booleanisSetDescription()booleanisSetDocumentType()booleanisSetFolderId()booleanisSetMimeType()booleanisSetName()booleanisSetNumber()booleanisSetObjectKey()booleanisSetPage()booleanisSetSize()voidsetDescription(String value)Sets the value of the description property.voidsetDocumentType(DocumentType value)Sets the value of the documentType property.voidsetFolderId(int value)Sets the value of the folderId property.voidsetMimeType(String value)Sets the value of the mimeType property.voidsetName(String value)Sets the value of the name property.voidsetNumber(int value)Sets the value of the number property.voidsetObjectKey(String value)Sets the value of the objectKey property.voidsetPage(int value)Sets the value of the page property.voidsetSize(double value)Sets the value of the size property.voidunsetFolderId()voidunsetNumber()voidunsetPage()voidunsetSize()
-
-
-
Field Detail
-
documentType
protected DocumentType documentType
-
objectKey
protected String objectKey
-
number
protected Integer number
-
page
protected Integer page
-
name
protected String name
-
size
protected Double size
-
description
protected String description
-
mimeType
protected String mimeType
-
folderId
protected Integer folderId
-
-
Method Detail
-
getDocumentType
public DocumentType getDocumentType()
Gets the value of the documentType property.- Returns:
- possible object is
DocumentType
-
setDocumentType
public void setDocumentType(DocumentType value)
Sets the value of the documentType property.- Parameters:
value- allowed object isDocumentType
-
isSetDocumentType
public boolean isSetDocumentType()
-
getObjectKey
public String getObjectKey()
Gets the value of the objectKey property.- Returns:
- possible object is
String
-
setObjectKey
public void setObjectKey(String value)
Sets the value of the objectKey property.- Parameters:
value- allowed object isString
-
isSetObjectKey
public boolean isSetObjectKey()
-
getNumber
public int getNumber()
Gets the value of the number property.- Returns:
- possible object is
Integer
-
setNumber
public void setNumber(int value)
Sets the value of the number property.- Parameters:
value- allowed object isInteger
-
isSetNumber
public boolean isSetNumber()
-
unsetNumber
public void unsetNumber()
-
getPage
public int getPage()
Gets the value of the page property.- Returns:
- possible object is
Integer
-
setPage
public void setPage(int value)
Sets the value of the page property.- Parameters:
value- allowed object isInteger
-
isSetPage
public boolean isSetPage()
-
unsetPage
public void unsetPage()
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isSetName
public boolean isSetName()
-
getSize
public double getSize()
Gets the value of the size property.- Returns:
- possible object is
Double
-
setSize
public void setSize(double value)
Sets the value of the size property.- Parameters:
value- allowed object isDouble
-
isSetSize
public boolean isSetSize()
-
unsetSize
public void unsetSize()
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
isSetDescription
public boolean isSetDescription()
-
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()
-
getFolderId
public int getFolderId()
Gets the value of the folderId property.- Returns:
- possible object is
Integer
-
setFolderId
public void setFolderId(int value)
Sets the value of the folderId property.- Parameters:
value- allowed object isInteger
-
isSetFolderId
public boolean isSetFolderId()
-
unsetFolderId
public void unsetFolderId()
-
-