public interface LexemeUpdate extends StatementDocumentUpdate
| Modifier and Type | Method and Description |
|---|---|
List<FormDocument> |
getAddedForms()
Returns new forms added to the lexeme in this update.
|
List<SenseDocument> |
getAddedSenses()
Returns new senses added to the lexeme in this update.
|
LexemeIdValue |
getEntityId()
Returns ID of the entity that is being updated.
|
Optional<ItemIdValue> |
getLanguage()
Returns new lexeme language assigned in this update.
|
TermUpdate |
getLemmas()
Returns changes in lemmas.
|
Optional<ItemIdValue> |
getLexicalCategory()
Returns new lexical category assigned to the lexeme in this update.
|
Set<FormIdValue> |
getRemovedForms()
Returns IDs of forms removed from the lexeme in this update.
|
Set<SenseIdValue> |
getRemovedSenses()
Returns IDs of senses removed from the lexeme in this update.
|
Map<FormIdValue,FormUpdate> |
getUpdatedForms()
Returns lexeme forms modified in this update.
|
Map<SenseIdValue,SenseUpdate> |
getUpdatedSenses()
Returns lexeme senses modified in this update.
|
getStatementsgetBaseRevisionId, isEmptyLexemeIdValue getEntityId()
EntityUpdategetEntityId in interface EntityUpdateOptional<ItemIdValue> getLanguage()
Optional.empty().Optional.empty() if it is not changingOptional<ItemIdValue> getLexicalCategory()
Optional.empty().Optional.empty() if it is not
changingTermUpdate getLemmas()
List<FormDocument> getAddedForms()
Map<FormIdValue,FormUpdate> getUpdatedForms()
Set<FormIdValue> getRemovedForms()
List<SenseDocument> getAddedSenses()
Map<SenseIdValue,SenseUpdate> getUpdatedSenses()
Set<SenseIdValue> getRemovedSenses()
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