@Entity public class Attachment extends Object implements DataModel
AttachmentDAO
.Constructor and Description |
---|
Attachment() |
Attachment(String description,
String fileName,
Entry entry)
Attachment constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
Entry |
getEntry() |
String |
getFileId() |
String |
getFileName() |
long |
getId() |
void |
setDescription(String description) |
void |
setEntry(Entry entry) |
void |
setFileId(String fileId) |
void |
setFileName(String fileName) |
void |
setId(long id) |
AttachmentInfo |
toDataTransferObject() |
public void setId(long id)
public void setDescription(String description)
public String getDescription()
public String getFileName()
public void setFileName(String fileName)
public String getFileId()
public void setFileId(String fileId)
public Entry getEntry()
public void setEntry(Entry entry)
public AttachmentInfo toDataTransferObject()
toDataTransferObject
in interface DataModel
Copyright © 2017. All rights reserved.