public abstract class LabeledDocumentUpdateImpl extends StatementDocumentUpdateImpl implements LabeledStatementDocumentUpdate
LabeledStatementDocumentUpdate.| Modifier | Constructor and Description |
|---|---|
protected |
LabeledDocumentUpdateImpl(EntityIdValue entityId,
long revisionId,
TermUpdate labels,
StatementUpdate statements)
Initializes new entity update.
|
| Modifier and Type | Method and Description |
|---|---|
TermUpdate |
getLabels()
Returns changes in entity labels.
|
boolean |
isEmpty()
Checks whether the update is empty.
|
getStatementsgetBaseRevisionId, getEntityIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatementsgetBaseRevisionId, getEntityIdprotected LabeledDocumentUpdateImpl(EntityIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements)
entityId - ID of the entity that is to be updatedrevisionId - base entity revision to be updated or zero if not availablelabels - changes in entity labels, possibly emptystatements - 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 EntityUpdateisEmpty in class StatementDocumentUpdateImpltrue if the update is empty, false otherwisepublic TermUpdate getLabels()
LabeledDocumentUpdategetLabels in interface LabeledDocumentUpdateCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage