Package com.couchbase.lite
Class ReplicatedDocument
- java.lang.Object
-
- com.couchbase.lite.ReplicatedDocument
-
public final class ReplicatedDocument extends Object
Information about a Document updated by replication.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollectionName()
The name of the collection to which the changed document belongs.String
getCollectionScope()
The scope of the collection to which the changed document belongs.CouchbaseLiteException
getError()
The current document replication error.EnumSet<DocumentFlag>
getFlags()
The current status flag of the document.String
getID()
The id document of the changed document.void
setError(CouchbaseLiteException error)
Set the current document replication error.String
toString()
-
-
-
Method Detail
-
getCollectionScope
@NonNull public String getCollectionScope()
The scope of the collection to which the changed document belongs.
-
getCollectionName
@NonNull public String getCollectionName()
The name of the collection to which the changed document belongs.
-
getID
@NonNull public String getID()
The id document of the changed document.
-
getFlags
@NonNull public EnumSet<DocumentFlag> getFlags()
The current status flag of the document. eg. deleted, access removed
-
getError
@Nullable public CouchbaseLiteException getError()
The current document replication error.
-
setError
public void setError(@Nullable CouchbaseLiteException error)
Set the current document replication error.
-
-