public abstract class StatementDocumentUpdateImpl extends EntityUpdateImpl implements StatementDocumentUpdate
StatementDocumentUpdate
.StatementUpdateImpl
Modifier | Constructor and Description |
---|---|
protected |
StatementDocumentUpdateImpl(EntityIdValue entityId,
long revisionId,
StatementUpdate statements)
Initializes new entity update.
|
Modifier and Type | Method and Description |
---|---|
StatementUpdate |
getStatements()
Returns statement changes included in this update.
|
boolean |
isEmpty()
Checks whether the update is empty.
|
getBaseRevisionId, getEntityId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseRevisionId, getEntityId
protected StatementDocumentUpdateImpl(EntityIdValue entityId, long revisionId, StatementUpdate statements)
entityId
- ID of the entity that is to be updatedrevisionId
- base entity revision to be updated or zero if not availablestatements
- changes in entity statements, possibly emptyNullPointerException
- if any required parameter is null
IllegalArgumentException
- if any parameters or their combination is invalidpublic boolean isEmpty()
EntityUpdate
isEmpty
in interface EntityUpdate
true
if the update is empty, false
otherwisepublic StatementUpdate getStatements()
StatementDocumentUpdate
getStatements
in interface StatementDocumentUpdate
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