Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.StatementDocument
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
Package for example programs that demonstrate how to use Wikidata Toolkit in practice.
Serializer for RDF
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of StatementDocument in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionStatementDocumentUpdateBuilder.forBaseRevision
(StatementDocument revision) Creates new builder object for constructing update of given base entity revision.protected static String
ToString.toStringForStatementDocument
(StatementDocument o) ModifierConstructorDescriptionprotected
Initializes new builder object for constructing update of given base entity revision. -
Uses of StatementDocument in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeClassDescriptionclass
Jackson implementation ofFormDocument
.class
Jackson implementation ofItemDocument
.class
Jackson implementation ofLexemeDocument
.class
Jackson implementation ofMediaInfoDocument
.class
Jackson implementation ofPropertyDocument
.class
Jackson implementation ofSenseDocument
.class
Abstract Jackson implementation ofTermedDocument
andStatementDocument
. -
Uses of StatementDocument in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeInterfaceDescriptioninterface
Interface for lexemes forms.interface
Interface for datasets that describe items.interface
This interface just joinsLabeledDocument
andStatementDocument
.interface
Interface for datasets that describe lexemes.interface
Interface for datasets that describe media entities.interface
Interface for datasets that describe properties.interface
Interface for lexemes senses.interface
This interface just joinsTermedDocument
andStatementDocument
.Modifier and TypeMethodDescriptionStatementDocument.withoutStatementIds
(Set<String> statementIds) Returns a new version of this document where all statements matching any of the statement ids provided have been removed.StatementDocument.withRevisionId
(long newRevisionId) Returns a copy of this document with an updated revision id.StatementDocument.withStatement
(Statement statement) Returns a new version of this document which includes the statement provided. -
Uses of StatementDocument in org.wikidata.wdtk.examples
Modifier and TypeMethodDescriptionprotected static StatementGroup
EditOnlineDataExample.findStatementGroup
(PropertyIdValue pid, StatementDocument document) Finds theStatementGroup
for the given property in a document. -
Uses of StatementDocument in org.wikidata.wdtk.rdf
Modifier and TypeMethodDescriptionvoid
AbstractRdfConverter.writeStatements
(StatementDocument statementDocument) -
Uses of StatementDocument in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescription<T extends StatementDocument>
voidWikibaseDataEditor.nullEdit
(ItemIdValue itemId) Deprecated.<T extends StatementDocument>
voidWikibaseDataEditor.nullEdit
(PropertyIdValue propertyId) Deprecated.UseWikibaseDataEditor.nullEdit(EntityIdValue)
instead.<T extends StatementDocument>
TWikibaseDataEditor.updateStatements
(T currentDocument, List<Statement> addStatements, List<Statement> deleteStatements, String summary, List<String> tags) Deprecated.Modifier and TypeMethodDescriptionStatementUpdate.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.Modifier and TypeMethodDescriptionprotected void
StatementUpdate.markStatementsForDeletion
(StatementDocument currentDocument, List<Statement> deleteStatements) Deprecated.Marks the given list of statements for deletion.protected void
StatementUpdate.markStatementsForInsertion
(StatementDocument currentDocument, List<Statement> addStatements) Deprecated.Marks a given list of statements for insertion into the current document.protected void
StatementUpdate.markStatementsForUpdate
(StatementDocument currentDocument, List<Statement> addStatements, List<Statement> deleteStatements) Deprecated.Marks the given lists of statements for being added to or deleted from the given document, respectively.ModifierConstructorDescriptionStatementUpdate
(StatementDocument currentDocument, List<Statement> addStatements, List<Statement> deleteStatements) Deprecated.Constructor.
WikibaseDataEditor.nullEdit(EntityIdValue)
instead.