@Entity public class Document extends BaseEntity implements java.io.Serializable
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
Transport |
addTransport(Transport transport)
Adds the transport to the array.
|
java.lang.String |
getCapsuleVersion()
Returns the capsuleVersion that is used in this document.
|
java.lang.Integer |
getContainerVersion()
Returns the containerVersion.
|
java.lang.String |
getContent()
Returns the content.
|
java.lang.Long |
getDocumentId()
Returns the documentId.
|
Folder |
getFolder()
Returns the folder.
|
java.lang.String |
getGuid()
Returns the guid.
|
Organisation |
getOrganisation()
Returns the organisation.
|
java.lang.Boolean |
getOutgoingDocument()
Returns the outgoingDocument.
|
java.lang.Long |
getSize()
Returns the size.
|
java.sql.Timestamp |
getStorageDeadline()
Returns the storageDeadline.
|
java.util.List<Transport> |
getTransports()
Returns the transports.
|
Transport |
removeTransport(Transport transport)
Remove the transport from array.
|
void |
setCapsuleVersion(java.lang.String capsuleVersion)
Sets the capsuleVersion that is used in this document.
|
void |
setContainerVersion(java.lang.Integer containerVersion)
Sets the containerVersion.
|
void |
setContent(java.lang.String content)
Sets the content.
|
void |
setDocumentId(java.lang.Long documentId)
Sets the documentId.
|
void |
setFolder(Folder folder)
Sets the folder.
|
void |
setGuid(java.lang.String guid)
Sets the guid.
|
void |
setOrganisation(Organisation organisation)
Sets the organisation.
|
void |
setOutgoingDocument(java.lang.Boolean outgoingDocument)
Sets the outgoingDocument.
|
void |
setSize(java.lang.Long size)
Sets the size.
|
void |
setStorageDeadline(java.sql.Timestamp storageDeadline)
Sets the storageDeadline.
|
void |
setTransports(java.util.List<Transport> transports)
Sets the transports.
|
java.lang.String |
toString() |
beforeInsert, beforeUpdate, getDateCreated, getDateModified, getVersion, setDateCreated, setDateModified, setVersion
public Transport addTransport(Transport transport)
transport
- transport to addpublic Transport removeTransport(Transport transport)
transport
- transport to removepublic java.lang.Long getDocumentId()
public void setDocumentId(java.lang.Long documentId)
documentId
- the documentId to setpublic java.lang.String getGuid()
public void setGuid(java.lang.String guid)
guid
- the guid to setpublic java.lang.String getCapsuleVersion()
public void setCapsuleVersion(java.lang.String capsuleVersion)
capsuleVersion
- the capsuleVersion to setpublic java.sql.Timestamp getStorageDeadline()
public void setStorageDeadline(java.sql.Timestamp storageDeadline)
storageDeadline
- the storageDeadline to setpublic java.lang.String getContent()
public void setContent(java.lang.String content)
content
- the content to setpublic java.lang.Long getSize()
public void setSize(java.lang.Long size)
size
- the size to setpublic java.lang.Integer getContainerVersion()
public void setContainerVersion(java.lang.Integer containerVersion)
containerVersion
- the containerVersion to setpublic Organisation getOrganisation()
public void setOrganisation(Organisation organisation)
organisation
- the organisation to setpublic Folder getFolder()
public void setFolder(Folder folder)
folder
- the folder to setpublic java.util.List<Transport> getTransports()
public void setTransports(java.util.List<Transport> transports)
transports
- the transports to setpublic java.lang.Boolean getOutgoingDocument()
public void setOutgoingDocument(java.lang.Boolean outgoingDocument)
outgoingDocument
- the outgoingDocument to setpublic java.lang.String toString()
toString
in class java.lang.Object