Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.FormDocument
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 FormDocument in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionDatamodelConverter.copy
(FormDocument object) Copies aFormDocument
.DatamodelFilter.filter
(FormDocument form) static FormDocument
Datamodel.makeFormDocument
(FormIdValue formIdValue, List<MonolingualTextValue> representations, List<ItemIdValue> grammaticalFeatures, List<StatementGroup> statementGroups) Creates aFormDocument
.Modifier and TypeMethodDescriptionLexemeUpdateBuilder.addForm
(FormDocument form) Adds form to the lexeme.DatamodelConverter.copy
(FormDocument object) Copies aFormDocument
.static boolean
Equality.equalsFormDocument
(FormDocument o1, Object o2) Returnstrue
if the parameters are twoFormDocument
objects with exactly the same data.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. -
Uses of FormDocument in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionLexemeDocumentImpl.createForm
(List<MonolingualTextValue> representations) LexemeDocumentImpl.getForm
(FormIdValue formId) DataObjectFactoryImpl.getFormDocument
(FormIdValue formIdValue, List<MonolingualTextValue> representations, List<ItemIdValue> grammaticalFeatures, List<StatementGroup> statementGroups, long revisionId) FormDocumentImpl.withEntityId
(FormIdValue newEntityId) FormDocumentImpl.withGrammaticalFeature
(ItemIdValue grammaticalFeature) FormDocumentImpl.withoutStatementIds
(Set<String> statementIds) FormDocumentImpl.withRepresentation
(MonolingualTextValue representation) FormDocumentImpl.withRevisionId
(long newRevisionId) FormDocumentImpl.withStatement
(Statement statement) ModifierConstructorDescriptionLexemeDocumentImpl
(String jsonId, String lexicalCategory, String language, Map<String, MonolingualTextValue> lemmas, Map<String, List<StatementImpl.PreStatement>> claims, List<FormDocument> forms, List<SenseDocument> senses, long revisionId, String siteIri) Constructor. -
Uses of FormDocument in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionLexemeDocument.createForm
(List<MonolingualTextValue> representations) Creates a newFormDocument
for this lexeme.LexemeDocument.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
.FormDocument.withEntityId
(FormIdValue newEntityId) Returns a new version of this document with updated ID.FormDocument.withGrammaticalFeature
(ItemIdValue grammaticalFeature) 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.withRepresentation
(MonolingualTextValue representation) FormDocument.withRevisionId
(long newRevisionId) Returns a copy of this document with an updated revision id.FormDocument.withStatement
(Statement statement) Returns a new version of this document which includes the statement provided.Modifier and TypeMethodDescriptionLexemeUpdate.getAddedForms()
Returns new forms added to the lexeme in this update.LexemeDocument.getForms()
Return the lexeme formsModifier and TypeMethodDescriptionLexemeDocument.withForm
(FormDocument form) Adds aFormDocument
to this lexeme.