public class PropertyUpdateImpl extends TermedDocumentUpdateImpl implements PropertyUpdate
PropertyUpdate.| Constructor and Description |
|---|
PropertyUpdateImpl(PropertyIdValue entityId,
long revisionId,
TermUpdate labels,
TermUpdate descriptions,
Map<String,AliasUpdate> aliases,
StatementUpdate statements)
Initializes new property update.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PropertyIdValue |
getEntityId()
Returns ID of the entity that is being updated.
|
int |
hashCode() |
getAliases, getDescriptions, isEmptygetLabelsgetStatementsgetBaseRevisionIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAliases, getDescriptionsgetLabelsgetStatementsgetBaseRevisionId, isEmptypublic PropertyUpdateImpl(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String,AliasUpdate> aliases, StatementUpdate statements)
entityId - ID of the property entity that is to be updatedrevisionId - base property entity revision to be updated or zero if not
availablelabels - changes in entity labels or null for no changedescriptions - changes in entity descriptions or null for no changealiases - changes in entity aliases, possibly emptystatements - changes in entity statements, possibly emptyNullPointerException - if any required parameter is nullIllegalArgumentException - if any parameters or their combination is invalidpublic PropertyIdValue getEntityId()
EntityUpdategetEntityId in interface EntityUpdategetEntityId in interface PropertyUpdategetEntityId 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