Uses of Class
org.wikidata.wdtk.datamodel.helpers.LexemeUpdateBuilder
Packages that use LexemeUpdateBuilder
Package
Description
Package for mostly static helper code to work with data objects.
-
Uses of LexemeUpdateBuilder in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return LexemeUpdateBuilderModifier and TypeMethodDescriptionLexemeUpdateBuilder.addForm(FormDocument form) Adds form to the lexeme.LexemeUpdateBuilder.addSense(SenseDocument sense) Adds sense to the lexeme.LexemeUpdateBuilder.append(LexemeUpdate update) Replays all changes in provided update into this builder object.static LexemeUpdateBuilderLexemeUpdateBuilder.forBaseRevision(LexemeDocument revision) Creates new builder object for constructing update of given base lexeme entity revision.static LexemeUpdateBuilderLexemeUpdateBuilder.forBaseRevisionId(LexemeIdValue lexemeId, long revisionId) Creates new builder object for constructing update of lexeme entity with given revision ID.static LexemeUpdateBuilderLexemeUpdateBuilder.forEntityId(LexemeIdValue lexemeId) Creates new builder object for constructing update of lexeme entity with given ID.LexemeUpdateBuilder.removeForm(FormIdValue formId) Removes existing form from the lexeme.LexemeUpdateBuilder.removeSense(SenseIdValue senseId) Removes existing sense from the lexeme.LexemeUpdateBuilder.setLanguage(ItemIdValue language) Sets lexeme language.LexemeUpdateBuilder.setLexicalCategory(ItemIdValue category) Sets lexical category of the lexeme.LexemeUpdateBuilder.updateForm(FormUpdate update) Updates existing form in the lexeme.LexemeUpdateBuilder.updateLemmas(TermUpdate update) Updates lemmas.LexemeUpdateBuilder.updateSense(SenseUpdate update) Updates existing sense in the lexeme.LexemeUpdateBuilder.updateStatements(StatementUpdate update)