Uses of Class
org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder
Package
Description
Package for mostly static helper code to work with data objects.
-
Uses of ItemDocumentBuilder in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionstatic ItemDocumentBuilder
ItemDocumentBuilder.forItemId
(ItemIdValue itemIdValue) Starts the construction of anItemDocument
with the given id.static ItemDocumentBuilder
ItemDocumentBuilder.fromItemDocument
(ItemDocument initialDocument) Starts the construction of anItemDocument
from an existing value.protected ItemDocumentBuilder
ItemDocumentBuilder.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.