Package com.flower.docs.domain.file
Class DocumentFile
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.file.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> <complexType name="DocumentFile"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="FormatCode"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <maxLength value="50"/> </restriction> </simpleType> </element> <element name="Content" type="{http://flower.com/docs/domain/file}Base64BinaryType" minOccurs="0"/> <element name="CreationDate" type="{http://flower.com/docs/domain/common}ISODateType" minOccurs="0"/> <element name="digest" type="{http://flower.com/docs/domain/file}Digest" minOccurs="0"/> </sequence> <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.activation.DataHandler
content
protected java.util.Date
creationDate
protected Digest
digest
protected java.lang.String
formatCode
protected java.lang.String
name
protected long
size
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
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 com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
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
-
-
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 isString
-
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 isString
-
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 isDataHandler
-
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 isString
-
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 isDigest
-
getSize
public long getSize()
Gets the value of the size property.
-
setSize
public void setSize(long value)
Sets the value of the size property.
-
-