Class EditingResult

java.lang.Object
org.wikidata.wdtk.wikibaseapi.EditingResult

public class EditingResult extends Object
Holds information about a successful edit made via WikibaseDataEditor. The state of the entity after edit is not provided here because it is not possible for WDTK to determine it reliably from the response of the server. Indeed, it is possible that the data in the entity after the edit differs from the data in the entity before the edit plus the changes of the edit itself, because it can be that another edit touched independent parts of the entity. This can happen even if the base revision id is provided.
  • Constructor Details

    • EditingResult

      public EditingResult(long revisionId)
  • Method Details

    • getLastRevisionId

      public OptionalLong getLastRevisionId()
      The identifier of the revision of the last edit made by the editing action, if any edit was made.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object