Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.LexemeDocument
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 accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of LexemeDocument in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(LexemeDocument object) Copies aLexemeDocument
.JsonDeserializer.deserializeLexemeDocument
(String json) Deserializes a JSON string into aLexemeDocument
.DatamodelFilter.filter
(LexemeDocument lexeme) static LexemeDocument
Datamodel.makeLexemeDocument
(LexemeIdValue lexemeIdValue, ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas) Creates an emptyLexemeDocument
.static LexemeDocument
Datamodel.makeLexemeDocument
(LexemeIdValue lexemeIdValue, ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas, List<StatementGroup> statementGroups, List<FormDocument> forms, List<SenseDocument> senses) Creates aLexemeDocument
.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(LexemeDocument object) Copies aLexemeDocument
.static boolean
Equality.equalsLexemeDocument
(LexemeDocument o1, Object o2) Returnstrue
if the parameters are twoLexemeDocument
objects with exactly the same data.DatamodelFilter.filter
(LexemeDocument lexeme) static LexemeUpdateBuilder
LexemeUpdateBuilder.forBaseRevision
(LexemeDocument revision) Creates new builder object for constructing update of given base lexeme entity revision.static int
Hash.hashCode
(LexemeDocument o) Returns a hash code for the given object.void
JsonSerializer.processLexemeDocument
(LexemeDocument lexemeDocument) static String
ToString.toString
(LexemeDocument o) Returns a human-readable string representation of the given object. -
Uses of LexemeDocument in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getLexemeDocument
(LexemeIdValue lexemeIdValue, ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas, List<StatementGroup> statementGroups, List<FormDocument> forms, List<SenseDocument> senses, long revisionId) LexemeDocumentImpl.withEntityId
(LexemeIdValue newEntityId) LexemeDocumentImpl.withForm
(FormDocument form) LexemeDocumentImpl.withLanguage
(ItemIdValue newLanguage) LexemeDocumentImpl.withLemma
(MonolingualTextValue lemma) LexemeDocumentImpl.withLexicalCategory
(ItemIdValue newLexicalCategory) LexemeDocumentImpl.withoutStatementIds
(Set<String> statementIds) LexemeDocumentImpl.withRevisionId
(long newRevisionId) LexemeDocumentImpl.withSense
(SenseDocument sense) LexemeDocumentImpl.withStatement
(Statement statement) -
Uses of LexemeDocument in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionDataObjectFactory.getLexemeDocument
(LexemeIdValue lexemeIdValue, ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas, List<StatementGroup> statementGroups, List<FormDocument> forms, List<SenseDocument> senses, long revisionId) Creates anLexemeDocument
.LexemeDocument.withEntityId
(LexemeIdValue newEntityId) Returns a new version of this document with updated ID.LexemeDocument.withForm
(FormDocument form) Adds aFormDocument
to this lexeme.LexemeDocument.withLanguage
(ItemIdValue newLanguage) LexemeDocument.withLemma
(MonolingualTextValue lemma) LexemeDocument.withLexicalCategory
(ItemIdValue newLexicalCategory) LexemeDocument.withoutStatementIds
(Set<String> statementIds) Returns a new version of this document where all statements matching any of the statement ids provided have been removed.LexemeDocument.withRevisionId
(long newRevisionId) Returns a copy of this document with an updated revision id.LexemeDocument.withSense
(SenseDocument sense) Adds aSenseDocument
to this lexeme.LexemeDocument.withStatement
(Statement statement) Returns a new version of this document which includes the statement provided.Modifier and TypeMethodDescriptiondefault void
EntityDocumentProcessor.processLexemeDocument
(LexemeDocument lexemeDocument) Processes the given LexemeDocument.void
EntityDocumentProcessorBroker.processLexemeDocument
(LexemeDocument lexemeDocument) void
EntityDocumentProcessorFilter.processLexemeDocument
(LexemeDocument lexemeDocument) -
Uses of LexemeDocument in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescriptionWikibaseDataEditor.createLexemeDocument
(LexemeDocument document, String summary, List<String> tags) Creates new lexeme document.Modifier and TypeMethodDescriptionWikibaseDataEditor.createLexemeDocument
(LexemeDocument document, String summary, List<String> tags) Creates new lexeme document.