Class DocumentFile

  • All Implemented Interfaces:
    java.io.Serializable

    public class DocumentFile
    extends IdentifiableElement
    implements java.io.Serializable
    Data of file related to an electronic document <p>Java class for DocumentFile complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="DocumentFile"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element name="FormatCode"&gt; &lt;simpleType&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;maxLength value="50"/&gt; &lt;/restriction&gt; &lt;/simpleType&gt; &lt;/element&gt; &lt;element name="Content" type="{http://flower.com/docs/domain/file}Base64BinaryType" minOccurs="0"/&gt; &lt;element name="CreationDate" type="{http://flower.com/docs/domain/common}ISODateType" minOccurs="0"/&gt; &lt;element name="digest" type="{http://flower.com/docs/domain/file}Digest" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentFile()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.activation.DataHandler getContent()
      Gets the value of the content property.
      java.util.Date getCreationDate()
      Gets the value of the creationDate property.
      Digest getDigest()
      Gets the value of the digest property.
      java.lang.String getFormatCode()
      Gets the value of the formatCode property.
      java.lang.String getName()
      Gets the value of the name property.
      long getSize()
      Gets the value of the size property.
      void setContent​(javax.activation.DataHandler value)
      Sets the value of the content property.
      void setCreationDate​(java.util.Date value)
      Sets the value of the creationDate property.
      void setDigest​(Digest value)
      Sets the value of the digest property.
      void setFormatCode​(java.lang.String value)
      Sets the value of the formatCode property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setSize​(long value)
      Sets the value of the size property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • formatCode

        protected java.lang.String formatCode
      • content

        @GwtIncompatible("")
        @GwtTransient
        protected javax.activation.DataHandler content
      • creationDate

        protected java.util.Date creationDate
      • digest

        protected Digest digest
      • size

        protected long size
    • Constructor Detail

      • DocumentFile

        public DocumentFile()
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getFormatCode

        public java.lang.String getFormatCode()
        Gets the value of the formatCode property.
        Returns:
        possible object is String
      • setFormatCode

        public void setFormatCode​(java.lang.String value)
        Sets the value of the formatCode property.
        Parameters:
        value - allowed object is String
      • getContent

        @GwtIncompatible("")
        public javax.activation.DataHandler getContent()
        Gets the value of the content property.
        Returns:
        possible object is DataHandler
      • setContent

        @GwtIncompatible("")
        public void setContent​(javax.activation.DataHandler value)
        Sets the value of the content property.
        Parameters:
        value - allowed object is DataHandler
      • getCreationDate

        public java.util.Date getCreationDate()
        Gets the value of the creationDate property.
        Returns:
        possible object is String
      • setCreationDate

        public void setCreationDate​(java.util.Date value)
        Sets the value of the creationDate property.
        Parameters:
        value - allowed object is String
      • getDigest

        public Digest getDigest()
        Gets the value of the digest property.
        Returns:
        possible object is Digest
      • setDigest

        public void setDigest​(Digest value)
        Sets the value of the digest property.
        Parameters:
        value - allowed object is Digest
      • getSize

        public long getSize()
        Gets the value of the size property.
      • setSize

        public void setSize​(long value)
        Sets the value of the size property.