public interface StatementUpdate
StatementDocumentUpdate
Modifier and Type | Field and Description |
---|---|
static StatementUpdate |
EMPTY
Empty update that does not alter or add any statements.
|
Modifier and Type | Method and Description |
---|---|
List<Statement> |
getAdded()
Returns statements added to the entity in this update.
|
Set<String> |
getRemoved()
Returns IDs of statements removed from the entity in this update.
|
Map<String,Statement> |
getReplaced()
Returns entity statements modified in this update.
|
boolean |
isEmpty()
Checks whether the update is empty.
|
static final StatementUpdate EMPTY
boolean isEmpty()
true
if the update is empty, false
otherwiseList<Statement> getAdded()
Map<String,Statement> getReplaced()
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