public class Attachment extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
contentType |
static String |
copyright |
protected boolean |
downloadable |
protected String |
filename |
protected String |
id |
static org.slf4j.Logger |
logger |
protected long |
size |
Constructor and Description |
---|
Attachment() |
Attachment(String id) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getFilename() |
String |
getId() |
long |
getSize() |
boolean |
isDownloadable() |
void |
setContentType(String contentType) |
void |
setDownloadable(boolean downloadable) |
void |
setFilename(String filename) |
void |
setId(String id) |
void |
setSize(long size) |
public static final String copyright
protected String id
protected String contentType
protected String filename
protected boolean downloadable
protected long size
public static final org.slf4j.Logger logger
public Attachment()
public Attachment(@Nullable String id)
public String getId()
public void setId(String id)
public String getContentType()
public void setContentType(String contentType)
public String getFilename()
public void setFilename(String filename)
public long getSize()
public void setSize(long size)
public boolean isDownloadable()
public void setDownloadable(boolean downloadable)