public interface EntityDocument
Modifier and Type | Method and Description |
---|---|
EntityIdValue |
getEntityId()
Returns the ID of the entity that the data refers to
|
long |
getRevisionId()
Returns the revision ID of this document, or 0 if no id is known.
|
EntityDocument |
withRevisionId(long newRevisionId)
Returns a copy of this document with an updated revision id.
|
EntityIdValue getEntityId()
long getRevisionId()
EntityDocument withRevisionId(long newRevisionId)
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage