Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.ItemDocument
Packages that use ItemDocument
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.
Components for downloading and processing Wikibase dump files.
Package for example programs that demonstrate how to use Wikidata Toolkit in practice.
Package for examples of bots that edit Wikidata.
Serializer for RDF
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of ItemDocument in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return ItemDocumentModifier and TypeMethodDescriptionItemDocumentBuilder.build()Returns theItemDocumentthat has been built.DatamodelConverter.copy(ItemDocument object) Copies anItemDocument.JsonDeserializer.deserializeItemDocument(String json) Deserializes a JSON string into anItemDocument.DatamodelFilter.filter(ItemDocument item) static ItemDocumentDatamodel.makeItemDocument(ItemIdValue itemIdValue) Creates an emptyItemDocument.static ItemDocumentDatamodel.makeItemDocument(ItemIdValue itemIdValue, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, Map<String, SiteLink> siteLinks) Creates anItemDocumentwith empty revision id.static ItemDocumentDatamodel.makeItemDocument(ItemIdValue itemIdValue, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, Map<String, SiteLink> siteLinks, long revisionId) Creates anItemDocument.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type ItemDocumentModifier and TypeMethodDescriptionDatamodelConverter.copy(ItemDocument object) Copies anItemDocument.static booleanEquality.equalsItemDocument(ItemDocument o1, Object o2) Returnstrueif the parameters are twoItemDocumentobjects with exactly the same data.DatamodelFilter.filter(ItemDocument item) static ItemUpdateBuilderItemUpdateBuilder.forBaseRevision(ItemDocument revision) Creates new builder object for constructing update of given base item entity revision.static ItemDocumentBuilderItemDocumentBuilder.fromItemDocument(ItemDocument initialDocument) Starts the construction of anItemDocumentfrom an existing value.static StringJsonSerializer.getJsonString(ItemDocument itemDocument) Serializes the given object in JSON and returns the resulting string.static intHash.hashCode(ItemDocument o) Returns a hash code for the given object.voidJsonSerializer.processItemDocument(ItemDocument itemDocument) static StringToString.toString(ItemDocument o) Returns a human-readable string representation of the given object.Constructors in org.wikidata.wdtk.datamodel.helpers with parameters of type ItemDocumentModifierConstructorDescriptionprotectedItemDocumentBuilder(ItemDocument initialDocument) Constructor to start the build from an existing item. -
Uses of ItemDocument in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement ItemDocumentMethods in org.wikidata.wdtk.datamodel.implementation that return ItemDocumentModifier and TypeMethodDescriptionDataObjectFactoryImpl.getItemDocument(ItemIdValue itemIdValue, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, Map<String, SiteLink> siteLinks, long revisionId) ItemDocumentImpl.withAliases(String language, List<MonolingualTextValue> aliases) ItemDocumentImpl.withDescription(MonolingualTextValue newDescription) ItemDocumentImpl.withEntityId(ItemIdValue itemId) ItemDocumentImpl.withLabel(MonolingualTextValue newLabel) ItemDocumentImpl.withoutStatementIds(Set<String> statementIds) ItemDocumentImpl.withRevisionId(long newRevisionId) ItemDocumentImpl.withStatement(Statement statement) -
Uses of ItemDocument in org.wikidata.wdtk.datamodel.interfaces
Methods in org.wikidata.wdtk.datamodel.interfaces that return ItemDocumentModifier and TypeMethodDescriptionDataObjectFactory.getItemDocument(ItemIdValue itemIdValue, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, Map<String, SiteLink> siteLinks, long revisionId) Creates anItemDocument.ItemDocument.withAliases(String language, List<MonolingualTextValue> aliases) ItemDocument.withDescription(MonolingualTextValue newDescription) ItemDocument.withEntityId(ItemIdValue newEntityId) Returns a new version of this document with updated ID.ItemDocument.withLabel(MonolingualTextValue newLabel) ItemDocument.withoutStatementIds(Set<String> statementIds) ItemDocument.withRevisionId(long newRevisionId) ItemDocument.withStatement(Statement statement) Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type ItemDocumentModifier and TypeMethodDescriptiondefault voidEntityDocumentProcessor.processItemDocument(ItemDocument itemDocument) Processes the given ItemDocument.voidEntityDocumentProcessorBroker.processItemDocument(ItemDocument itemDocument) voidEntityDocumentProcessorFilter.processItemDocument(ItemDocument itemDocument) -
Uses of ItemDocument in org.wikidata.wdtk.dumpfiles
Methods in org.wikidata.wdtk.dumpfiles with parameters of type ItemDocumentModifier and TypeMethodDescriptionvoidEntityTimerProcessor.processItemDocument(ItemDocument itemDocument) -
Uses of ItemDocument in org.wikidata.wdtk.examples
Methods in org.wikidata.wdtk.examples with parameters of type ItemDocumentModifier and TypeMethodDescriptionvoidClassPropertyUsageAnalyzer.processItemDocument(ItemDocument itemDocument) voidDataExtractionProcessor.processItemDocument(ItemDocument itemDocument) voidGenderRatioProcessor.processItemDocument(ItemDocument itemDocument) voidGreatestNumberProcessor.processItemDocument(ItemDocument itemDocument) voidJsonSerializationProcessor.processItemDocument(ItemDocument itemDocument) voidLifeExpectancyProcessor.processItemDocument(ItemDocument itemDocument) voidTutorialDocumentProcessor.processItemDocument(ItemDocument itemDocument) Processes one item document.voidWorldMapProcessor.processItemDocument(ItemDocument itemDocument) -
Uses of ItemDocument in org.wikidata.wdtk.examples.bots
Methods in org.wikidata.wdtk.examples.bots with parameters of type ItemDocumentModifier and TypeMethodDescriptionprotected booleanSetLabelsForNumbersBot.lacksSomeLanguage(ItemDocument itemDocument) Returns true if the given item document lacks a label for at least one of the languages covered.voidFixIntegerQuantityPrecisionsBot.processItemDocument(ItemDocument itemDocument) voidSetLabelsForNumbersBot.processItemDocument(ItemDocument itemDocument) -
Uses of ItemDocument in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type ItemDocumentModifier and TypeMethodDescriptionvoidRdfSerializer.processItemDocument(ItemDocument itemDocument) voidAbstractRdfConverter.writeItemDocument(ItemDocument document) voidRdfConverter.writeItemDocument(ItemDocument document) -
Uses of ItemDocument in org.wikidata.wdtk.wikibaseapi
Methods in org.wikidata.wdtk.wikibaseapi that return ItemDocumentModifier and TypeMethodDescriptionWikibaseDataEditor.createItemDocument(ItemDocument document, String summary, List<String> tags) Creates new item document.WikibaseDataEditor.editItemDocument(ItemDocument itemDocument, boolean clear, String summary, List<String> tags) Deprecated.WikibaseDataEditor.updateStatements(ItemIdValue itemIdValue, List<Statement> addStatements, List<Statement> deleteStatements, String summary, List<String> tags) Deprecated.WikibaseDataEditor.updateTermsStatements(ItemIdValue itemIdValue, List<MonolingualTextValue> addLabels, List<MonolingualTextValue> addDescriptions, List<MonolingualTextValue> addAliases, List<MonolingualTextValue> deleteAliases, List<Statement> addStatements, List<Statement> deleteStatements, String summary, List<String> tags) Deprecated.Methods in org.wikidata.wdtk.wikibaseapi with parameters of type ItemDocumentModifier and TypeMethodDescriptionWikibaseDataEditor.createItemDocument(ItemDocument document, String summary, List<String> tags) Creates new item document.WikibaseDataEditor.editItemDocument(ItemDocument itemDocument, boolean clear, String summary, List<String> tags) Deprecated.
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)instead.