public class XmlAttachment extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
contentType |
protected String |
fileName |
protected Long |
fileSize |
protected Boolean |
thumbnail |
Constructor and Description |
---|
XmlAttachment()
Creates a new instance of XmlAttachment
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getContentType() |
String |
getFileName() |
Long |
getFileSize() |
boolean |
getThumbnail() |
int |
hashCode() |
void |
setContentType(String contentType) |
void |
setFileName(String fileName) |
void |
setFileSize(Long fileSize) |
void |
setThumbnail(Boolean thumbnail) |
static String |
toLogger(XmlAttachment data)
Creates a compact string representation for the log.
|
protected String fileName
protected String contentType
protected Boolean thumbnail
protected Long fileSize
public 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 getContentType()
public void setContentType(String contentType)
contentType
- the contentType to setpublic boolean getThumbnail()
public void setThumbnail(Boolean thumbnail)
thumbnail
- name
the contentType to setpublic static String toLogger(XmlAttachment data)
data
- the XmlAttach to logCopyright © 2010-2014 Michigan State University. All Rights Reserved.