Class 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 Detail

      • AttachmentType

        public AttachmentType()
    • 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 is DocumentType
      • 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 is String
      • 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 is Integer
      • 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 is Integer
      • 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 is String
      • 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 is Double
      • 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 is String
      • 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 is String
      • 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 is Integer
      • isSetFolderId

        public boolean isSetFolderId()
      • unsetFolderId

        public void unsetFolderId()