| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| Modifier and Type | Method and Description |
|---|---|
StatementUpdateBuilder |
StatementUpdateBuilder.add(Statement statement)
Adds statement to the entity.
|
StatementUpdateBuilder |
StatementUpdateBuilder.append(StatementUpdate update)
Replays all changes in provided update into this builder object.
|
static StatementUpdateBuilder |
StatementUpdateBuilder.create()
Creates new builder object for constructing statement update.
|
static StatementUpdateBuilder |
StatementUpdateBuilder.create(EntityIdValue subject)
Creates new builder object for constructing statement update of given
subject.
|
static StatementUpdateBuilder |
StatementUpdateBuilder.forStatementGroups(Collection<StatementGroup> groups)
Creates new builder object for constructing update of given base revision
statement groups.
|
static StatementUpdateBuilder |
StatementUpdateBuilder.forStatementGroups(EntityIdValue subject,
Collection<StatementGroup> groups)
Creates new builder object for constructing update of given base revision
statement groups with given subject.
|
static StatementUpdateBuilder |
StatementUpdateBuilder.forStatements(Collection<Statement> statements)
Creates new builder object for constructing update of given base revision
statements.
|
static StatementUpdateBuilder |
StatementUpdateBuilder.forStatements(EntityIdValue subject,
Collection<Statement> statements)
Creates new builder object for constructing update of given base revision
statements with given subject.
|
StatementUpdateBuilder |
StatementUpdateBuilder.remove(String statementId)
Removes existing statement from the entity.
|
StatementUpdateBuilder |
StatementUpdateBuilder.replace(Statement statement)
Replaces existing statement in the entity.
|
Copyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage