public class SenseUpdateImpl extends StatementDocumentUpdateImpl implements SenseUpdate
SenseUpdate.| Constructor and Description |
|---|
SenseUpdateImpl(SenseIdValue entityId,
long revisionId,
TermUpdate glosses,
StatementUpdate statements)
Initializes new sense update.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SenseIdValue |
getEntityId()
Returns ID of the entity that is being updated.
|
TermUpdate |
getGlosses()
Returns changes in sense glosses.
|
int |
hashCode() |
boolean |
isEmpty()
Checks whether the update is empty.
|
getStatementsgetBaseRevisionIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetStatementsgetBaseRevisionIdpublic SenseUpdateImpl(SenseIdValue entityId, long revisionId, TermUpdate glosses, StatementUpdate statements)
entityId - ID of the sense that is to be updatedrevisionId - base sense revision to be updated or zero if not availableglosses - changes in sense glosses, possibly emptystatements - changes in entity statements, possibly emptyNullPointerException - if any required parameter is nullIllegalArgumentException - if any parameters or their combination is invalidpublic SenseIdValue getEntityId()
EntityUpdategetEntityId in interface EntityUpdategetEntityId in interface SenseUpdategetEntityId in class EntityUpdateImplpublic boolean isEmpty()
EntityUpdateisEmpty in interface EntityUpdateisEmpty in class StatementDocumentUpdateImpltrue if the update is empty, false otherwisepublic TermUpdate getGlosses()
SenseUpdategetGlosses in interface SenseUpdateCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage