public class CouchDbDocument extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENTS_NAME |
Constructor and Description |
---|
CouchDbDocument() |
Modifier and Type | Method and Description |
---|---|
protected void |
addInlineAttachment(Attachment a) |
Map<String,Attachment> |
getAttachments() |
List<String> |
getConflicts() |
String |
getId() |
String |
getRevision() |
Revisions |
getRevisions()
Note: Will only be populated if this document has been loaded with the revisions option = true.
|
boolean |
hasConflict() |
boolean |
isNew() |
protected void |
removeAttachment(String id) |
void |
setId(String s) |
void |
setRevision(String s) |
public static final String ATTACHMENTS_NAME
public String getId()
public void setId(String s)
public String getRevision()
public void setRevision(String s)
public boolean isNew()
public Map<String,Attachment> getAttachments()
public Revisions getRevisions()
public List<String> getConflicts()
public boolean hasConflict()
protected void removeAttachment(String id)
protected void addInlineAttachment(Attachment a)
Copyright © 2013. All Rights Reserved.