Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.FormIdValue
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 FormIdValue in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(FormIdValue object) Copies aFormIdValue
.static FormIdValue
Datamodel.makeFormIdValue
(String id, String siteIri) Creates anFormIdValue
.static FormIdValue
Datamodel.makeWikidataFormIdValue
(String id) Creates anFormIdValue
for Wikidata.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(FormIdValue object) Copies aFormIdValue
.static FormUpdateBuilder
FormUpdateBuilder.forBaseRevisionId
(FormIdValue formId, long revisionId) Creates new builder object for constructing update of form entity with given revision ID.static FormUpdateBuilder
FormUpdateBuilder.forEntityId
(FormIdValue formId) Creates new builder object for constructing update of form entity with given ID.static FormDocument
Datamodel.makeFormDocument
(FormIdValue formIdValue, List<MonolingualTextValue> representations, List<ItemIdValue> grammaticalFeatures, List<StatementGroup> statementGroups) Creates aFormDocument
.static FormUpdate
Datamodel.makeFormUpdate
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) Creates newFormUpdate
.LexemeUpdateBuilder.removeForm
(FormIdValue formId) Removes existing form from the lexeme.static String
ToString.toString
(FormIdValue o) Returns a human-readable string representation of the given object. -
Uses of FormIdValue in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionFormDocumentImpl.getEntityId()
FormUpdateImpl.getEntityId()
DataObjectFactoryImpl.getFormIdValue
(String id, String siteIri) Modifier and TypeMethodDescriptionLexemeUpdateImpl.getRemovedForms()
LexemeUpdateImpl.getUpdatedForms()
Modifier and TypeMethodDescriptionLexemeDocumentImpl.getForm
(FormIdValue formId) DataObjectFactoryImpl.getFormDocument
(FormIdValue formIdValue, List<MonolingualTextValue> representations, List<ItemIdValue> grammaticalFeatures, List<StatementGroup> statementGroups, long revisionId) DataObjectFactoryImpl.getFormUpdate
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) FormDocumentImpl.withEntityId
(FormIdValue newEntityId) ModifierConstructorDescriptionFormUpdateImpl
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) Initializes new form update. -
Uses of FormIdValue in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeFieldDescriptionstatic final FormIdValue
FormIdValue.NULL
FixedFormIdValue
that refers to a non-existing form.Modifier and TypeMethodDescriptionFormDocument.getEntityId()
Returns the ID of the entity that the data refers toFormUpdate.getEntityId()
DataObjectFactory.getFormIdValue
(String id, String siteIri) Creates aFormIdValue
.Modifier and TypeMethodDescriptionLexemeUpdate.getRemovedForms()
Returns IDs of forms removed from the lexeme in this update.LexemeUpdate.getUpdatedForms()
Returns lexeme forms modified in this update.Modifier and TypeMethodDescriptionLexemeDocument.getForm
(FormIdValue formId) Return the inner form having the given idDataObjectFactory.getFormDocument
(FormIdValue formIdValue, List<MonolingualTextValue> representations, List<ItemIdValue> grammaticalFeatures, List<StatementGroup> statementGroups, long revisionId) Creates anFormDocument
.DataObjectFactory.getFormUpdate
(FormIdValue entityId, long revisionId, TermUpdate representations, Collection<ItemIdValue> grammaticalFeatures, StatementUpdate statements) Creates newFormUpdate
.FormDocument.withEntityId
(FormIdValue newEntityId) Returns a new version of this document with updated ID.