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