Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.SenseDocument
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.
-
Uses of SenseDocument in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(SenseDocument object) Copies aSenseDocument
.DatamodelFilter.filter
(SenseDocument sense) static SenseDocument
Datamodel.makeSenseDocument
(SenseIdValue senseIdValue, List<MonolingualTextValue> glosses, List<StatementGroup> statementGroups) Creates aSenseDocument
.Modifier and TypeMethodDescriptionLexemeUpdateBuilder.addSense
(SenseDocument sense) Adds sense to the lexeme.DatamodelConverter.copy
(SenseDocument object) Copies aSenseDocument
.static boolean
Equality.equalsSenseDocument
(SenseDocument o1, Object o2) Returnstrue
if the parameters are twoSenseDocument
objects with exactly the same data.DatamodelFilter.filter
(SenseDocument sense) static SenseUpdateBuilder
SenseUpdateBuilder.forBaseRevision
(SenseDocument revision) Creates new builder object for constructing update of given base sense entity revision.static int
Hash.hashCode
(SenseDocument o) Returns a hash code for the given object.static String
ToString.toString
(SenseDocument o) Returns a human-readable string representation of the given object.Modifier and TypeMethodDescriptionstatic LexemeUpdate
Datamodel.makeLexemeUpdate
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) Creates newLexemeUpdate
. -
Uses of SenseDocument in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionLexemeDocumentImpl.createSense
(List<MonolingualTextValue> glosses) LexemeDocumentImpl.getSense
(SenseIdValue senseId) DataObjectFactoryImpl.getSenseDocument
(SenseIdValue senseIdValue, List<MonolingualTextValue> glosses, List<StatementGroup> statementGroups, long revisionId) SenseDocumentImpl.withEntityId
(SenseIdValue newEntityId) SenseDocumentImpl.withGloss
(MonolingualTextValue gloss) SenseDocumentImpl.withoutStatementIds
(Set<String> statementIds) SenseDocumentImpl.withRevisionId
(long newRevisionId) SenseDocumentImpl.withStatement
(Statement statement) Modifier and TypeMethodDescriptionLexemeUpdateImpl.getAddedSenses()
LexemeDocumentImpl.getSenses()
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getLexemeUpdate
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) ModifierConstructorDescriptionLexemeUpdateImpl
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) Initializes new entity update. -
Uses of SenseDocument in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionLexemeDocument.createSense
(List<MonolingualTextValue> glosses) Creates a newSenseDocument
for this Lexeme.LexemeDocument.getSense
(SenseIdValue formId) Return the inner sense having the given idDataObjectFactory.getSenseDocument
(SenseIdValue senseIdValue, List<MonolingualTextValue> glosses, List<StatementGroup> statementGroups, long revisionId) Creates aSenseDocument
.SenseDocument.withEntityId
(SenseIdValue newEntityId) Returns a new version of this document with updated ID.SenseDocument.withGloss
(MonolingualTextValue gloss) SenseDocument.withoutStatementIds
(Set<String> statementIds) Returns a new version of this document where all statements matching any of the statement ids provided have been removed.SenseDocument.withRevisionId
(long newRevisionId) Returns a copy of this document with an updated revision id.SenseDocument.withStatement
(Statement statement) Returns a new version of this document which includes the statement provided.Modifier and TypeMethodDescriptionLexemeUpdate.getAddedSenses()
Returns new senses added to the lexeme in this update.LexemeDocument.getSenses()
Return the lexeme sensesModifier and TypeMethodDescriptionLexemeDocument.withSense
(SenseDocument sense) Adds aSenseDocument
to this lexeme.Modifier and TypeMethodDescriptionDataObjectFactory.getLexemeUpdate
(LexemeIdValue entityId, long revisionId, ItemIdValue language, ItemIdValue lexicalCategory, TermUpdate lemmas, StatementUpdate statements, Collection<SenseDocument> addedSenses, Collection<SenseUpdate> updatedSenses, Collection<SenseIdValue> removedSenses, Collection<FormDocument> addedForms, Collection<FormUpdate> updatedForms, Collection<FormIdValue> removedForms) Creates newLexemeUpdate
.