| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| Modifier and Type | Method and Description |
|---|---|
LexemeUpdateBuilder |
LexemeUpdateBuilder.addForm(FormDocument form)
Adds form to the lexeme.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.addSense(SenseDocument sense)
Adds sense to the lexeme.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.append(LexemeUpdate update)
Replays all changes in provided update into this builder object.
|
static LexemeUpdateBuilder |
LexemeUpdateBuilder.forBaseRevision(LexemeDocument revision)
Creates new builder object for constructing update of given base lexeme
entity revision.
|
static LexemeUpdateBuilder |
LexemeUpdateBuilder.forBaseRevisionId(LexemeIdValue lexemeId,
long revisionId)
Creates new builder object for constructing update of lexeme entity with
given revision ID.
|
static LexemeUpdateBuilder |
LexemeUpdateBuilder.forEntityId(LexemeIdValue lexemeId)
Creates new builder object for constructing update of lexeme entity with
given ID.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.removeForm(FormIdValue formId)
Removes existing form from the lexeme.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.removeSense(SenseIdValue senseId)
Removes existing sense from the lexeme.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.setLanguage(ItemIdValue language)
Sets lexeme language.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.setLexicalCategory(ItemIdValue category)
Sets lexical category of the lexeme.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateForm(FormUpdate update)
Updates existing form in the lexeme.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateLemmas(TermUpdate update)
Updates lemmas.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateSense(SenseUpdate update)
Updates existing sense in the lexeme.
|
LexemeUpdateBuilder |
LexemeUpdateBuilder.updateStatements(StatementUpdate update) |
Copyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage