| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| Modifier and Type | Method and Description |
|---|---|
static ItemDocumentBuilder |
ItemDocumentBuilder.forItemId(ItemIdValue itemIdValue)
Starts the construction of an
ItemDocument with the given id. |
static ItemDocumentBuilder |
ItemDocumentBuilder.fromItemDocument(ItemDocument initialDocument)
Starts the construction of an
ItemDocument from an existing value. |
protected ItemDocumentBuilder |
ItemDocumentBuilder.getThis() |
ItemDocumentBuilder |
ItemDocumentBuilder.withEntityId(EntityIdValue entityId)
Changes the entity value id for the constructed document.
|
ItemDocumentBuilder |
ItemDocumentBuilder.withSiteLink(SiteLink siteLink)
Adds an additional site link to the constructed document.
|
ItemDocumentBuilder |
ItemDocumentBuilder.withSiteLink(String title,
String siteKey,
ItemIdValue... badges)
Adds an additional site link to the constructed document.
|
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