Uses of Class
org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
Packages that use ItemDocumentBuilder
Package
Description
Package for mostly static helper code to work with data objects.
-
Uses of ItemDocumentBuilder in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return ItemDocumentBuilderModifier and TypeMethodDescriptionstatic ItemDocumentBuilderItemDocumentBuilder.forItemId(ItemIdValue itemIdValue) Starts the construction of anItemDocumentwith the given id.static ItemDocumentBuilderItemDocumentBuilder.fromItemDocument(ItemDocument initialDocument) Starts the construction of anItemDocumentfrom an existing value.protected ItemDocumentBuilderItemDocumentBuilder.getThis()ItemDocumentBuilder.withEntityId(EntityIdValue entityId) Changes the entity value id for the constructed document.ItemDocumentBuilder.withSiteLink(String title, String siteKey, ItemIdValue... badges) Adds an additional site link to the constructed document.ItemDocumentBuilder.withSiteLink(SiteLink siteLink) Adds an additional site link to the constructed document.