public interface EntityRedirectDocument extends EntityDocument
Modifier and Type | Method and Description |
---|---|
EntityIdValue |
getTargetId()
Returns the ID of the entity that the redirection target to.
|
EntityRedirectDocument |
withRevisionId(long newRevisionId)
Returns a copy of this document with an updated revision id.
|
getEntityId, getRevisionId
EntityIdValue getTargetId()
EntityRedirectDocument withRevisionId(long newRevisionId)
EntityDocument
withRevisionId
in interface EntityDocument
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