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, isEmpty
getStatements
getBaseRevisionId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getLabels
getStatements
getBaseRevisionId, isEmpty
public 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 null
IllegalArgumentException
- if any parameters or their combination is invalidpublic MediaInfoIdValue getEntityId()
EntityUpdate
getEntityId
in interface EntityUpdate
getEntityId
in interface MediaInfoUpdate
getEntityId
in class EntityUpdateImpl
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