public class Attachment extends MapObject
Constructor and Description |
---|
Attachment() |
Attachment(Map data) |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
comment for the attachment {color:#cc3300}(Required){color}
|
String |
getContentType()
mime content type of the attachment {color:#cc0000}(Required){color}
|
Date |
getCreated()
creation date of the attachment
|
String |
getCreator()
creator of the attachment
|
String |
getFileName()
file name of the attachment {color:#cc3300}(Required){color}
|
String |
getFileSize()
numeric file size of the attachment in bytes
|
String |
getId()
numeric id of the attachment
|
String |
getPageId()
page ID of the attachment
|
String |
getTitle()
title of the attachment
|
String |
getUrl()
url to download the attachment online
|
void |
setComment(String comment) |
void |
setContentType(String contentType) |
void |
setCreated(Date created) |
void |
setCreator(String creator) |
void |
setFileName(String fileName) |
void |
setFileSize(String fileSize) |
void |
setId(String id) |
void |
setPageId(String pageId) |
void |
setTitle(String title) |
void |
setUrl(String url) |
Map |
toRawMap() |
public Attachment()
public Attachment(Map data)
public String getId()
public void setId(String id)
public String getPageId()
public void setPageId(String pageId)
public String getTitle()
public void setTitle(String title)
public String getFileName()
public void setFileName(String fileName)
public String getFileSize()
public void setFileSize(String fileSize)
public String getContentType()
public void setContentType(String contentType)
public Date getCreated()
public void setCreated(Date created)
public String getCreator()
public void setCreator(String creator)
public String getUrl()
public void setUrl(String url)
public String getComment()
public void setComment(String comment)
Copyright © 2016 The Codehaus Foundation. All rights reserved.