Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.StatementDocument
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type StatementDocumentModifier and TypeMethodDescriptionStatementDocumentUpdateBuilder.forBaseRevision(StatementDocument revision) Creates new builder object for constructing update of given base entity revision.protected static StringToString.toStringForStatementDocument(StatementDocument o) Constructors in org.wikidata.wdtk.datamodel.helpers with parameters of type StatementDocumentModifierConstructorDescriptionprotectedInitializes new builder object for constructing update of given base entity revision. -
Uses of StatementDocument in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement StatementDocumentModifier and TypeClassDescriptionclassJackson implementation ofFormDocument.classJackson implementation ofItemDocument.classJackson implementation ofLexemeDocument.classJackson implementation ofMediaInfoDocument.classJackson implementation ofPropertyDocument.classJackson implementation ofSenseDocument.classAbstract Jackson implementation ofTermedDocumentandStatementDocument. -
Uses of StatementDocument in org.wikidata.wdtk.datamodel.interfaces
Subinterfaces of StatementDocument in org.wikidata.wdtk.datamodel.interfacesModifier and TypeInterfaceDescriptioninterfaceInterface for lexemes forms.interfaceInterface for datasets that describe items.interfaceThis interface just joinsLabeledDocumentandStatementDocument.interfaceInterface for datasets that describe lexemes.interfaceInterface for datasets that describe media entities.interfaceInterface for datasets that describe properties.interfaceInterface for lexemes senses.interfaceThis interface just joinsTermedDocumentandStatementDocument.Methods in org.wikidata.wdtk.datamodel.interfaces that return StatementDocumentModifier 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
Methods in org.wikidata.wdtk.examples with parameters of type StatementDocumentModifier and TypeMethodDescriptionprotected static StatementGroupEditOnlineDataExample.findStatementGroup(PropertyIdValue pid, StatementDocument document) Finds theStatementGroupfor the given property in a document. -
Uses of StatementDocument in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type StatementDocumentModifier and TypeMethodDescriptionvoidAbstractRdfConverter.writeStatements(StatementDocument statementDocument) -
Uses of StatementDocument in org.wikidata.wdtk.wikibaseapi
Methods in org.wikidata.wdtk.wikibaseapi with type parameters of type StatementDocumentModifier 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.Methods in org.wikidata.wdtk.wikibaseapi that return StatementDocumentModifier 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.Methods in org.wikidata.wdtk.wikibaseapi with parameters of type StatementDocumentModifier and TypeMethodDescriptionprotected voidStatementUpdate.markStatementsForDeletion(StatementDocument currentDocument, List<Statement> deleteStatements) Deprecated.Marks the given list of statements for deletion.protected voidStatementUpdate.markStatementsForInsertion(StatementDocument currentDocument, List<Statement> addStatements) Deprecated.Marks a given list of statements for insertion into the current document.protected voidStatementUpdate.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.Constructors in org.wikidata.wdtk.wikibaseapi with parameters of type StatementDocumentModifierConstructorDescriptionStatementUpdate(StatementDocument currentDocument, List<Statement> addStatements, List<Statement> deleteStatements) Deprecated.Constructor.
WikibaseDataEditor.nullEdit(EntityIdValue)instead.