public class Attachment extends Object implements Serializable
| Constructor and Description |
|---|
Attachment() |
Attachment(Integer id,
Integer fkId,
String fkTable,
String title,
String description,
String fileName,
Long fileSize,
String fileType,
String content) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent() |
String |
getDescription() |
String |
getFileName() |
Long |
getFileSize() |
String |
getFileType() |
Integer |
getFkId() |
String |
getFkTable() |
Integer |
getId() |
String |
getTitle() |
void |
setContent(String content) |
void |
setDescription(String description) |
void |
setFileName(String fileName) |
void |
setFileSize(Long fileSize) |
void |
setFileType(String fileType) |
void |
setFkId(Integer fkId) |
void |
setFkTable(String fkTable) |
void |
setId(Integer id) |
void |
setTitle(String title) |
String |
toString() |
public Attachment()
public Attachment(Integer id, Integer fkId, String fkTable, String title, String description, String fileName, Long fileSize, String fileType, String content)
id - IDfkId - FKfkTable - FK table nametitle - titledescription - descriptionfileName - file namefileSize - file sizefileType - file typecontent - contentpublic Integer getId()
public void setId(Integer id)
id - the id to setpublic Integer getFkId()
public void setFkId(Integer fkId)
fkId - the fkId to setpublic String getFkTable()
public void setFkTable(String fkTable)
fkTable - the fkTable to setpublic String getTitle()
public void setTitle(String title)
title - the title to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic String getFileName()
public void setFileName(String fileName)
fileName - the fileName to setpublic Long getFileSize()
public void setFileSize(Long fileSize)
fileSize - the fileSize to setpublic String getFileType()
public void setFileType(String fileType)
fileType - the fileType to setpublic String getContent()
public void setContent(String content)
content - the content to setCopyright © 2010–2020. All rights reserved.