| 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 |
Code that is related to the official Wikibase JSON format
as used, e.g., to export result in the Wikibase Web API.
|
| 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 |
|---|---|
static boolean |
Equality.equalsEntityIdValue(EntityIdValue o1,
Object o2)
Returns true if the parameters are two
EntityIdValue objects with
exactly the same data. |
static int |
Hash.hashCode(EntityIdValue o)
Returns a hash code for the given object.
|
static Claim |
Datamodel.makeClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers)
Creates a
Claim. |
Value |
DataModelConverter.visit(EntityIdValue value) |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityIdValueImpl
Generic implementation of
EntityIdValue that works with arbitrary
Wikibase instances: it requires a baseIri that identifies the site globally. |
class |
ItemIdValueImpl
Generic implementation of
ItemIdValue that works with arbitrary
Wikibase instances: it requires a baseIri that identifies the site globally. |
class |
PropertyIdValueImpl
Generic implementation of
PropertyIdValue that works with arbitrary
Wikibase instances: it requires a baseIri that identifies the site globally. |
| Modifier and Type | Method and Description |
|---|---|
EntityIdValue |
PropertyDocumentImpl.getEntityId() |
EntityIdValue |
ItemDocumentImpl.getEntityId() |
EntityIdValue |
ClaimImpl.getSubject() |
EntityIdValue |
StatementGroupImpl.getSubject() |
| Modifier and Type | Method and Description |
|---|---|
Claim |
DataObjectFactoryImpl.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ItemIdValue
The id of a Wikibase Item.
|
interface |
PropertyIdValue
The id of a Wikibase Property.
|
| Modifier and Type | Method and Description |
|---|---|
EntityIdValue |
EntityDocument.getEntityId()
Return the ID of the entity that the data refers to
|
EntityIdValue |
Claim.getSubject()
The subject that the claim refers to, e.g., the id of "Berlin".
|
EntityIdValue |
StatementGroup.getSubject()
Get the subject used in the
Claim of each statement in this
group. |
| Modifier and Type | Method and Description |
|---|---|
Claim |
DataObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers)
Creates a
Claim. |
T |
ValueVisitor.visit(EntityIdValue value)
Visits a EntityIdValue and returns a result.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
ValueJsonConverter.visit(EntityIdValue value) |
| Modifier and Type | Method and Description |
|---|---|
EntityIdValue |
JacksonItemDocument.getEntityId() |
EntityIdValue |
JacksonPropertyDocument.getEntityId() |
EntityIdValue |
StatementGroupFromJson.getSubject() |
EntityIdValue |
ClaimFromJson.getSubject() |
| Modifier and Type | Method and Description |
|---|---|
Claim |
JacksonObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers) |
| 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