Package | Description |
---|---|
org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
org.wikidata.wdtk.wikibaseapi |
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityDocumentBuilder<T extends EntityDocumentBuilder<T,O>,O extends TermedStatementDocument>
Abstract base class for builders that construct
EntityDocument
objects. |
Modifier and Type | Method and Description |
---|---|
static TermedDocumentUpdateBuilder |
TermedDocumentUpdateBuilder.forBaseRevision(TermedStatementDocument revision)
Creates new builder object for constructing update of given base entity
revision.
|
Constructor and Description |
---|
TermedDocumentUpdateBuilder(TermedStatementDocument revision)
Initializes new builder object for constructing update of given base entity
revision.
|
Modifier and Type | Class and Description |
---|---|
class |
ItemDocumentImpl
Jackson implementation of
ItemDocument . |
class |
PropertyDocumentImpl
Jackson implementation of
PropertyDocument . |
class |
TermedStatementDocumentImpl
Abstract Jackson implementation of
TermedDocument and StatementDocument . |
Modifier and Type | Interface and Description |
---|---|
interface |
ItemDocument
Interface for datasets that describe items.
|
interface |
PropertyDocument
Interface for datasets that describe properties.
|
Modifier and Type | Method and Description |
---|---|
TermedStatementDocument |
TermedStatementDocument.withAliases(String language,
List<MonolingualTextValue> aliases) |
TermedStatementDocument |
TermedStatementDocument.withDescription(MonolingualTextValue newDescription) |
TermedStatementDocument |
TermedStatementDocument.withLabel(MonolingualTextValue newLabel) |
TermedStatementDocument |
TermedStatementDocument.withoutStatementIds(Set<String> statementIds) |
TermedStatementDocument |
TermedStatementDocument.withRevisionId(long newRevisionId) |
TermedStatementDocument |
TermedStatementDocument.withStatement(Statement statement) |
Modifier and Type | Field and Description |
---|---|
protected TermedStatementDocument |
TermStatementUpdate.currentDocument
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends TermedStatementDocument> |
WikibaseDataEditor.updateTermsStatements(T currentDocument,
List<MonolingualTextValue> addLabels,
List<MonolingualTextValue> addDescriptions,
List<MonolingualTextValue> addAliases,
List<MonolingualTextValue> deleteAliases,
List<Statement> addStatements,
List<Statement> deleteStatements,
String summary,
List<String> tags)
Deprecated.
Use
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List) instead.
Updates the terms and statements of the current document.
The updates are computed with respect to the current data in the document,
making sure that no redundant deletions or duplicate insertions
happen. The references of duplicate statements will be merged. The labels
and aliases in a given language are kept distinct. |
Modifier and Type | Method and Description |
---|---|
TermedStatementDocument |
TermStatementUpdate.performEdit(WbEditingAction action,
boolean editAsBot,
String summary,
List<String> tags)
Deprecated.
Performs the update, selecting the appropriate API action depending on
the nature of the change.
|
Constructor and Description |
---|
TermStatementUpdate(TermedStatementDocument currentDocument,
List<Statement> addStatements,
List<Statement> deleteStatements,
List<MonolingualTextValue> addLabels,
List<MonolingualTextValue> addDescriptions,
List<MonolingualTextValue> addAliases,
List<MonolingualTextValue> deleteAliases)
Deprecated.
Constructor.
|
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