Package com.couchbase.lite
Class Conflict
- java.lang.Object
-
- com.couchbase.lite.Conflict
-
public class Conflict extends java.lang.Object
The representation of conflicting changes in the remote and local instances of a document.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDocumentId()
The id of the conflicted documentDocument
getLocalDocument()
The local instance of the document.Document
getRemoteDocument()
The remote instance of the document.
-
-
-
Method Detail
-
getDocumentId
@Nullable public java.lang.String getDocumentId()
The id of the conflicted document- Returns:
- the document id.
-
getLocalDocument
@Nullable public Document getLocalDocument()
The local instance of the document.- Returns:
- the local version of the document
-
getRemoteDocument
@Nullable public Document getRemoteDocument()
The remote instance of the document.- Returns:
- the remote version of the document
-
-