Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.FormDocument
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers that return FormDocumentModifier and TypeMethodDescriptionDatamodelConverter.copy(FormDocument object) Copies aFormDocument.DatamodelFilter.filter(FormDocument form) static FormDocumentDatamodel.makeFormDocument(FormIdValue formIdValue, List<MonolingualTextValue> representations, List<ItemIdValue> grammaticalFeatures, List<StatementGroup> statementGroups) Creates aFormDocument.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type FormDocumentModifier and TypeMethodDescriptionLexemeUpdateBuilder.addForm(FormDocument form) Adds form to the lexeme.DatamodelConverter.copy(FormDocument object) Copies aFormDocument.static booleanEquality.equalsFormDocument(FormDocument o1, Object o2) Returnstrueif the parameters are twoFormDocumentobjects with exactly the same data.DatamodelFilter.filter(FormDocument form) static FormUpdateBuilderFormUpdateBuilder.forBaseRevision(FormDocument revision) Creates new builder object for constructing update of given base form entity revision.static intHash.hashCode(FormDocument o) Returns a hash code for the given object.static StringToString.toString(FormDocument o) Returns a human-readable string representation of the given object. -
Uses of FormDocument in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement FormDocumentMethods in org.wikidata.wdtk.datamodel.implementation that return FormDocumentModifier 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) Methods in org.wikidata.wdtk.datamodel.implementation that return types with arguments of type FormDocumentMethods in org.wikidata.wdtk.datamodel.implementation with parameters of type FormDocumentConstructor parameters in org.wikidata.wdtk.datamodel.implementation with type arguments of type FormDocumentModifierConstructorDescriptionLexemeDocumentImpl(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
Methods in org.wikidata.wdtk.datamodel.interfaces that return FormDocumentModifier and TypeMethodDescriptionLexemeDocument.createForm(List<MonolingualTextValue> representations) Creates a newFormDocumentfor 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.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type FormDocumentModifier and TypeMethodDescriptionLexemeUpdate.getAddedForms()Returns new forms added to the lexeme in this update.LexemeDocument.getForms()Return the lexeme formsMethods in org.wikidata.wdtk.datamodel.interfaces with parameters of type FormDocumentModifier and TypeMethodDescriptionLexemeDocument.withForm(FormDocument form) Adds aFormDocumentto this lexeme.