| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
| Modifier and Type | Method and Description |
|---|---|
FormDocument |
DatamodelConverter.copy(FormDocument object)
Copies a
FormDocument. |
FormDocument |
DatamodelFilter.filter(FormDocument form) |
static FormDocument |
Datamodel.makeFormDocument(FormIdValue formIdValue,
List<MonolingualTextValue> representations,
List<ItemIdValue> grammaticalFeatures,
List<StatementGroup> statementGroups)
Creates a
FormDocument. |
| Modifier and Type | Method and Description |
|---|---|
LexemeUpdateBuilder |
LexemeUpdateBuilder.addForm(FormDocument form)
Adds form to the lexeme.
|
FormDocument |
DatamodelConverter.copy(FormDocument object)
Copies a
FormDocument. |
static boolean |
Equality.equalsFormDocument(FormDocument o1,
Object o2)
Returns
true if the parameters are two FormDocument objects with
exactly the same data. |
FormDocument |
DatamodelFilter.filter(FormDocument form) |
static FormUpdateBuilder |
FormUpdateBuilder.forBaseRevision(FormDocument revision)
Creates new builder object for constructing update of given base form entity
revision.
|
static int |
Hash.hashCode(FormDocument o)
Returns a hash code for the given object.
|
static String |
ToString.toString(FormDocument o)
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Method and Description |
|---|---|
static LexemeDocument |
Datamodel.makeLexemeDocument(LexemeIdValue lexemeIdValue,
ItemIdValue lexicalCategory,
ItemIdValue language,
List<MonolingualTextValue> lemmas,
List<StatementGroup> statementGroups,
List<FormDocument> forms,
List<SenseDocument> senses)
Creates a
LexemeDocument. |
static 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 new
LexemeUpdate. |
| Modifier and Type | Class and Description |
|---|---|
class |
FormDocumentImpl
Jackson implementation of
FormDocument. |
| Modifier and Type | Method and Description |
|---|---|
FormDocument |
LexemeDocumentImpl.createForm(List<MonolingualTextValue> representations) |
FormDocument |
LexemeDocumentImpl.getForm(FormIdValue formId) |
FormDocument |
DataObjectFactoryImpl.getFormDocument(FormIdValue formIdValue,
List<MonolingualTextValue> representations,
List<ItemIdValue> grammaticalFeatures,
List<StatementGroup> statementGroups,
long revisionId) |
FormDocument |
FormDocumentImpl.withEntityId(FormIdValue newEntityId) |
FormDocument |
FormDocumentImpl.withGrammaticalFeature(ItemIdValue grammaticalFeature) |
FormDocument |
FormDocumentImpl.withoutStatementIds(Set<String> statementIds) |
FormDocument |
FormDocumentImpl.withRepresentation(MonolingualTextValue representation) |
FormDocument |
FormDocumentImpl.withRevisionId(long newRevisionId) |
FormDocument |
FormDocumentImpl.withStatement(Statement statement) |
| Modifier and Type | Method and Description |
|---|---|
List<FormDocument> |
LexemeUpdateImpl.getAddedForms() |
List<FormDocument> |
LexemeDocumentImpl.getForms() |
| Modifier and Type | Method and Description |
|---|---|
LexemeDocument |
LexemeDocumentImpl.withForm(FormDocument form) |
| Modifier and Type | Method and Description |
|---|---|
LexemeDocument |
DataObjectFactoryImpl.getLexemeDocument(LexemeIdValue lexemeIdValue,
ItemIdValue lexicalCategory,
ItemIdValue language,
List<MonolingualTextValue> lemmas,
List<StatementGroup> statementGroups,
List<FormDocument> forms,
List<SenseDocument> senses,
long revisionId) |
LexemeUpdate |
DataObjectFactoryImpl.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 and Description |
|---|
LexemeUpdateImpl(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.
|
| Modifier and Type | Method and Description |
|---|---|
FormDocument |
LexemeDocument.createForm(List<MonolingualTextValue> representations)
Creates a new
FormDocument for this lexeme. |
FormDocument |
LexemeDocument.getForm(FormIdValue formId)
Return the inner form having the given id
|
FormDocument |
DataObjectFactory.getFormDocument(FormIdValue formIdValue,
List<MonolingualTextValue> representations,
List<ItemIdValue> grammaticalFeatures,
List<StatementGroup> statementGroups,
long revisionId)
Creates an
FormDocument. |
FormDocument |
FormDocument.withEntityId(FormIdValue newEntityId)
Returns a new version of this document with updated ID.
|
FormDocument |
FormDocument.withGrammaticalFeature(ItemIdValue grammaticalFeature) |
FormDocument |
FormDocument.withoutStatementIds(Set<String> statementIds)
Returns a new version of this document where all statements matching
any of the statement ids provided have been removed.
|
FormDocument |
FormDocument.withRepresentation(MonolingualTextValue representation) |
FormDocument |
FormDocument.withRevisionId(long newRevisionId)
Returns a copy of this document with an updated revision id.
|
FormDocument |
FormDocument.withStatement(Statement statement)
Returns a new version of this document which includes the
statement provided.
|
| Modifier and Type | Method and Description |
|---|---|
List<FormDocument> |
LexemeUpdate.getAddedForms()
Returns new forms added to the lexeme in this update.
|
List<FormDocument> |
LexemeDocument.getForms()
Return the lexeme forms
|
| Modifier and Type | Method and Description |
|---|---|
LexemeDocument |
LexemeDocument.withForm(FormDocument form)
Adds a
FormDocument to this lexeme. |
| Modifier and Type | Method and Description |
|---|---|
LexemeDocument |
DataObjectFactory.getLexemeDocument(LexemeIdValue lexemeIdValue,
ItemIdValue lexicalCategory,
ItemIdValue language,
List<MonolingualTextValue> lemmas,
List<StatementGroup> statementGroups,
List<FormDocument> forms,
List<SenseDocument> senses,
long revisionId)
Creates an
LexemeDocument. |
LexemeUpdate |
DataObjectFactory.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 new
LexemeUpdate. |
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