public class AttachmentData extends IdentifiableEntityData
| Constructor and Description |
|---|
AttachmentData()
Does nothing.
|
AttachmentData(String contentId,
String mimeTyp,
String fileName,
String repositoryId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentId() |
String |
getFileName() |
String |
getMimeTyp() |
Long |
getNoteId() |
String |
getRepositoryId() |
Long |
getSize() |
void |
setContentId(String contentId) |
void |
setFileName(String fileName) |
void |
setMimeTyp(String mimeTyp) |
void |
setNoteId(Long noteId) |
void |
setRepositoryId(String repositoryId) |
void |
setSize(Long size) |
copy, equals, getId, getProperties, getProperty, hashCode, setId, setPropertypublic String getContentId()
public String getFileName()
public String getMimeTyp()
public Long getNoteId()
public String getRepositoryId()
public Long getSize()
public void setContentId(String contentId)
contentId - the contentId to setpublic void setFileName(String fileName)
fileName - the fileName to setpublic void setMimeTyp(String mimeTyp)
mimeTyp - the mimeTyp to setpublic void setNoteId(Long noteId)
noteId - id of the note the attachment is associated with. null if no note connected.public void setRepositoryId(String repositoryId)
repositoryId - the repositoryId to setpublic void setSize(Long size)
size - the size to setCopyright © 2019 Communote team. All rights reserved.