| 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.
|
| Modifier and Type | Method and Description |
|---|---|
SiteLink |
DatamodelConverter.copy(SiteLink object)
Copies a
SiteLink. |
static SiteLink |
Datamodel.makeSiteLink(String title,
String siteKey,
List<String> badges)
Creates a
SiteLink. |
| Modifier and Type | Method and Description |
|---|---|
SiteLink |
DatamodelConverter.copy(SiteLink object)
Copies a
SiteLink. |
static boolean |
Equality.equalsSiteLink(SiteLink o1,
Object o2)
Returns true if the parameters are two
SiteLink objects with
exactly the same data. |
static int |
Hash.hashCode(SiteLink o)
Returns a hash code for the given object.
|
static String |
ToString.toString(SiteLink o)
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Class and Description |
|---|---|
class |
SiteLinkImpl
Most basic implementation of
SiteLink. |
| Modifier and Type | Method and Description |
|---|---|
SiteLink |
DataObjectFactoryImpl.getSiteLink(String title,
String siteKey,
List<String> badges) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SiteLink> |
ItemDocumentImpl.getSiteLinks() |
| Modifier and Type | Method and Description |
|---|---|
String |
SitesImpl.getSiteLinkUrl(SiteLink siteLink) |
| 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 |
|---|---|
SiteLink |
DataObjectFactory.getSiteLink(String title,
String siteKey,
List<String> badges)
Creates a
SiteLink. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SiteLink> |
ItemDocument.getSiteLinks()
Get a Map of site keys to
SiteLink objects. |
| Modifier and Type | Method and Description |
|---|---|
String |
Sites.getSiteLinkUrl(SiteLink siteLink)
Returns the URL for the given site link, or null if its site key is not
known.
|
| 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 | Class and Description |
|---|---|
class |
JacksonSiteLink
Jackson implementation of
SiteLink. |
| Modifier and Type | Method and Description |
|---|---|
SiteLink |
JacksonObjectFactory.getSiteLink(String title,
String siteKey,
List<String> badges) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SiteLink> |
JacksonItemDocument.getSiteLinks() |
| 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) |
Copyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage