public class DocumentInfoContainer extends Object implements Serializable
Represents a container for document description.
Constructor and Description |
---|
DocumentInfoContainer()
The file unique identifier, full path for local storage e.g.
|
Modifier and Type | Method and Description |
---|---|
List<AttachmentBase> |
getAttachments()
Gets the attachments.
|
Date |
getDateCreated()
The created time.
|
String |
getDocumentType()
The type of the document.
|
String |
getDocumentTypeFormat()
Return document type format.
|
String |
getExtension()
Gets the file extension.
|
String |
getFileType()
The type of the file.
|
String |
getGuid()
The file unique identifier, full path for local storage e.g.
|
Date |
getLastModificationDate()
The last modification date.
|
String |
getName()
The file name.
|
List<PageData> |
getPages()
Gets the pages data.
|
long |
getSize()
The size.
|
void |
setAttachments(List<AttachmentBase> value)
Gets the attachments.
|
void |
setDateCreated(Date value)
The created time.
|
void |
setDocumentType(String value)
The type of the document.
|
void |
setDocumentTypeFormat(String value)
Return document type format.
|
void |
setExtension(String value)
Gets the file extension.
|
void |
setFileType(String value)
The type of the file.
|
void |
setGuid(String value)
The file unique identifier, full path for local storage e.g.
|
void |
setLastModificationDate(Date value)
The last modification date.
|
void |
setName(String value)
The file name.
|
void |
setPages(List<PageData> value)
Gets the pages data.
|
void |
setSize(long value)
The size.
|
public DocumentInfoContainer()
The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt.
public String getGuid()
The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
public void setGuid(String value)
The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt
value
- the valuepublic String getName()
The file name.
public void setName(String value)
The file name.
value
- the valuepublic String getExtension()
Gets the file extension.
public void setExtension(String value)
Gets the file extension.
value
- the valuepublic long getSize()
The size.
public void setSize(long value)
The size.
value
- the valuepublic Date getLastModificationDate()
The last modification date.
public void setLastModificationDate(Date value)
The last modification date.
value
- the valuepublic String getDocumentType()
The type of the document.
public void setDocumentType(String value)
The type of the document.
value
- the valuepublic String getDocumentTypeFormat()
Return document type format.
Domain.DocumentTypeFormat.PORTABLE_DOCUMENT_FORMAT
, Domain.DocumentTypeFormat.MICROSOFT_WORD
,
Domain.DocumentTypeFormat.MICROSOFT_EXCEL
, Domain.DocumentTypeFormat.MICROSOFT_POWERPOINT
,
Domain.DocumentTypeFormat.MICROSOFT_VISIO
, Domain.DocumentTypeFormat.MICROSOFT_PROJECT
,
Domain.DocumentTypeFormat.MICROSOFT_OUTLOOK
, Domain.DocumentTypeFormat.OPENDOCUMENT_FORMATS
,
Domain.DocumentTypeFormat.RICH_TEXT_FORMAT
, Domain.DocumentTypeFormat.PLAIN_TEXT_FILE
,
Domain.DocumentTypeFormat.COMMA_SEPARATED_VALUES
, Domain.DocumentTypeFormat.HYPERTEXT_MARKUP_LANGUAGE
,
Domain.DocumentTypeFormat.EXTENSIBLE_MARKUP_LANGUAGE
, Domain.DocumentTypeFormat.XML_PAPER_SPECIFICATION
,
Domain.DocumentTypeFormat.IMAGE_FILES
, Domain.DocumentTypeFormat.ELECTRONIC_PUBLICATION
,
Domain.DocumentTypeFormat.WINDOWS_ICON
, Domain.DocumentTypeFormat.WINDOWS_METAFILE
or Domain.DocumentTypeFormat.UNKNOWN
public void setDocumentTypeFormat(String value)
Return document type format.
Domain.DocumentTypeFormat.MICROSOFT_EXCEL
, Domain.DocumentTypeFormat.MICROSOFT_POWERPOINT
,
Domain.DocumentTypeFormat.MICROSOFT_VISIO
, Domain.DocumentTypeFormat.MICROSOFT_PROJECT
,
Domain.DocumentTypeFormat.MICROSOFT_OUTLOOK
, Domain.DocumentTypeFormat.OPENDOCUMENT_FORMATS
,
Domain.DocumentTypeFormat.RICH_TEXT_FORMAT
, Domain.DocumentTypeFormat.PLAIN_TEXT_FILE
,
Domain.DocumentTypeFormat.COMMA_SEPARATED_VALUES
, Domain.DocumentTypeFormat.HYPERTEXT_MARKUP_LANGUAGE
,
Domain.DocumentTypeFormat.EXTENSIBLE_MARKUP_LANGUAGE
, Domain.DocumentTypeFormat.XML_PAPER_SPECIFICATION
,
Domain.DocumentTypeFormat.IMAGE_FILES
, Domain.DocumentTypeFormat.ELECTRONIC_PUBLICATION
,
Domain.DocumentTypeFormat.WINDOWS_ICON
, Domain.DocumentTypeFormat.WINDOWS_METAFILE
or Domain.DocumentTypeFormat.UNKNOWN
value
- a String
object.public String getFileType()
The type of the file.
public void setFileType(String value)
The type of the file.
value
- the valuepublic Date getDateCreated()
The created time.
public void setDateCreated(Date value)
The created time.
value
- the valuepublic void setPages(List<PageData> value)
Gets the pages data.
value
- a java$util$List object.public List<AttachmentBase> getAttachments()
Gets the attachments.
public void setAttachments(List<AttachmentBase> value)
Gets the attachments.
value
- a java$util$List object.Copyright © 2018. All rights reserved.