| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.json.jackson |
Main package for Jackson-compatible implementations of the WDTK datamodel
interfaces.
|
| org.wikidata.wdtk.datamodel.json.jackson.datavalues |
Jackson-compatible implementation of all WDTK
Value interfaces for use as
snak values. |
| Modifier and Type | Method and Description |
|---|---|
ItemIdValue |
DataModelConverter.convert(ItemIdValue object) |
static ItemIdValue |
Datamodel.makeItemIdValue(String id,
String siteIri)
Creates an
ItemIdValue. |
static ItemIdValue |
Datamodel.makeWikidataItemIdValue(String id)
Creates an
ItemIdValue for Wikidata. |
| Modifier and Type | Method and Description |
|---|---|
ItemIdValue |
DataModelConverter.convert(ItemIdValue object) |
static ItemDocument |
Datamodel.makeItemDocument(ItemIdValue itemIdValue,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
Map<String,SiteLink> siteLinks)
Creates an
ItemDocument. |
static String |
ToString.toString(ItemIdValue o)
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ItemIdValueImpl
Generic implementation of
ItemIdValue that works with arbitrary
Wikibase instances: it requires a baseIri that identifies the site globally. |
| Modifier and Type | Method and Description |
|---|---|
ItemIdValue |
ItemDocumentImpl.getItemId() |
ItemIdValue |
DataObjectFactoryImpl.getItemIdValue(String id,
String siteIri) |
| Modifier and Type | Method and Description |
|---|---|
ItemDocument |
DataObjectFactoryImpl.getItemDocument(ItemIdValue itemIdValue,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
Map<String,SiteLink> siteLinks) |
| Modifier and Type | Method and Description |
|---|---|
ItemIdValue |
ItemDocument.getItemId()
Return the ID of the item that the data refers to.
|
ItemIdValue |
DataObjectFactory.getItemIdValue(String id,
String siteIri)
Creates an
ItemIdValue. |
| Modifier and Type | Method and Description |
|---|---|
ItemDocument |
DataObjectFactory.getItemDocument(ItemIdValue itemIdValue,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
Map<String,SiteLink> siteLinks)
Creates an
ItemDocument. |
| Modifier and Type | Method and Description |
|---|---|
ItemIdValue |
JacksonItemDocument.getItemId() |
ItemIdValue |
JacksonObjectFactory.getItemIdValue(String id,
String siteIri) |
| Modifier and Type | Method and Description |
|---|---|
ItemDocument |
JacksonObjectFactory.getItemDocument(ItemIdValue itemIdValue,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
Map<String,SiteLink> siteLinks) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonValueItemId
Jackson implementation of
ItemIdValue. |
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage