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, wait
isEmpty
protected 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 null
IllegalArgumentException
- if entityId
is a placeholder ID or it does not match base
revision document ID (if provided)public EntityIdValue getEntityId()
EntityUpdate
getEntityId
in interface EntityUpdate
public long getBaseRevisionId()
EntityUpdate
getBaseRevisionId
in interface EntityUpdate
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