public class Document extends Object
id
, revision
properties, and attachments.Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(String name,
Attachment attachment)
Adds an in-line document attachment.
|
boolean |
equals(Object obj) |
Map<String,Attachment> |
getAttachments() |
String |
getId() |
String |
getRevision() |
int |
hashCode() |
void |
setAttachments(Map<String,Attachment> attachments) |
void |
setId(String id) |
void |
setRevision(String revision) |
public String getId()
public String getRevision()
public Map<String,Attachment> getAttachments()
public void setId(String id)
public void setRevision(String revision)
public void setAttachments(Map<String,Attachment> attachments)
public void addAttachment(String name, Attachment attachment)
name
- The attachment file nameattachment
- Copyright © 2011–2016. All rights reserved.