public abstract class EntityUpdateImpl extends Object implements EntityUpdate
EntityUpdate.| Modifier | Constructor and Description |
|---|---|
protected |
EntityUpdateImpl(EntityIdValue entityId,
long revisionId)
Initializes new entity update.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getBaseRevisionId()
Returns entity revision, upon which this update is built.
|
EntityIdValue |
getEntityId()
Returns ID of the entity that is being updated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptyprotected EntityUpdateImpl(EntityIdValue entityId, long revisionId)
entityId - ID of the entity that is to be updatedrevisionId - base entity revision to be updated or zero if not availableNullPointerException - if entityId is nullIllegalArgumentException - if entityId is a placeholder ID or it does not match base
revision document ID (if provided)public EntityIdValue getEntityId()
EntityUpdategetEntityId in interface EntityUpdatepublic long getBaseRevisionId()
EntityUpdategetBaseRevisionId in interface EntityUpdateCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage