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, getEntityIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseRevisionId, getEntityIdprotected 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 nullIllegalArgumentException - if any parameters or their combination is invalidpublic boolean isEmpty()
EntityUpdateisEmpty in interface EntityUpdatetrue if the update is empty, false otherwisepublic StatementUpdate getStatements()
StatementDocumentUpdategetStatements in interface StatementDocumentUpdateCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage