public class MediaInfoUpdateImpl extends LabeledDocumentUpdateImpl implements MediaInfoUpdate
MediaInfoUpdate.| Constructor and Description |
|---|
MediaInfoUpdateImpl(MediaInfoIdValue entityId,
long revisionId,
TermUpdate labels,
StatementUpdate statements)
Initializes new media update.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MediaInfoIdValue |
getEntityId()
Returns ID of the entity that is being updated.
|
int |
hashCode() |
getLabels, isEmptygetStatementsgetBaseRevisionIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetLabelsgetStatementsgetBaseRevisionId, isEmptypublic MediaInfoUpdateImpl(MediaInfoIdValue entityId, long revisionId, TermUpdate labels, StatementUpdate statements)
entityId - ID of the media that is to be updatedrevisionId - base media revision to be updated or zero if not availablelabels - changes in entity labels or null for no changestatements - changes in entity statements, possibly emptyNullPointerException - if any required parameter is nullIllegalArgumentException - if any parameters or their combination is invalidpublic MediaInfoIdValue getEntityId()
EntityUpdategetEntityId in interface EntityUpdategetEntityId in interface MediaInfoUpdategetEntityId in class EntityUpdateImplCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage