Class ReplicatedDocument

java.lang.Object
com.couchbase.lite.ReplicatedDocument

public final class ReplicatedDocument extends Object
Information about a Document updated by replication.
  • Method Details

    • getCollectionScope

      @Deprecated @NonNull public String getCollectionScope()
      Deprecated.
      Use getScope()
      The scope of the collection to which the changed document belongs.
    • getScope

      @NonNull public String getScope()
      The scope of the collection to which the changed document belongs.
    • getCollectionName

      @Deprecated @NonNull public String getCollectionName()
      Deprecated.
      Use getCollection()
      The name of the collection to which the changed document belongs.
    • getCollection

      @NonNull public String getCollection()
      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.
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object