Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.SenseDocument
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers that return SenseDocumentModifier 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
.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type SenseDocumentModifier 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.Method parameters in org.wikidata.wdtk.datamodel.helpers with type arguments of type SenseDocumentModifier 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
Classes in org.wikidata.wdtk.datamodel.implementation that implement SenseDocumentMethods in org.wikidata.wdtk.datamodel.implementation that return SenseDocumentModifier 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) Methods in org.wikidata.wdtk.datamodel.implementation that return types with arguments of type SenseDocumentModifier and TypeMethodDescriptionLexemeUpdateImpl.getAddedSenses()
LexemeDocumentImpl.getSenses()
Methods in org.wikidata.wdtk.datamodel.implementation with parameters of type SenseDocumentMethod parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type SenseDocumentModifier 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) Constructor parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type SenseDocumentModifierConstructorDescriptionLexemeUpdateImpl
(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
Methods in org.wikidata.wdtk.datamodel.interfaces that return SenseDocumentModifier 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.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type SenseDocumentModifier and TypeMethodDescriptionLexemeUpdate.getAddedSenses()
Returns new senses added to the lexeme in this update.LexemeDocument.getSenses()
Return the lexeme sensesMethods in org.wikidata.wdtk.datamodel.interfaces with parameters of type SenseDocumentModifier and TypeMethodDescriptionLexemeDocument.withSense
(SenseDocument sense) Adds aSenseDocument
to this lexeme.Method parameters in org.wikidata.wdtk.datamodel.interfaces with type arguments of type SenseDocumentModifier 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
.