| 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.
|
| Modifier and Type | Method and Description |
|---|---|
ValueSnak |
DataModelConverter.convert(ValueSnak object) |
static ValueSnak |
Datamodel.makeValueSnak(PropertyIdValue propertyId,
Value value)
Creates a
ValueSnak. |
| Modifier and Type | Method and Description |
|---|---|
ValueSnak |
DataModelConverter.convert(ValueSnak object) |
static boolean |
Equality.equalsValueSnak(ValueSnak o1,
Object o2)
Returns true if the parameters are two
ValueSnak objects with
exactly the same data. |
static int |
Hash.hashCode(ValueSnak o)
Returns a hash code for the given object.
|
static String |
ToString.toString(ValueSnak o)
Returns a human-readable string representation of the given object.
|
Snak |
DataModelConverter.visit(ValueSnak snak) |
| Modifier and Type | Class and Description |
|---|---|
class |
ValueSnakImpl
Implementation of
ValueSnak. |
| Modifier and Type | Method and Description |
|---|---|
ValueSnak |
DataObjectFactoryImpl.getValueSnak(PropertyIdValue propertyId,
Value value) |
| Modifier and Type | Method and Description |
|---|---|
ValueSnak |
DataObjectFactory.getValueSnak(PropertyIdValue propertyId,
Value value)
Creates a
ValueSnak. |
| Modifier and Type | Method and Description |
|---|---|
T |
SnakVisitor.visit(ValueSnak snak)
Visits a ValueSnak and returns a result.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
SnakJsonConverter.visit(ValueSnak snak) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonValueSnak
Jackson implementation of
ValueSnak. |
| Modifier and Type | Method and Description |
|---|---|
ValueSnak |
JacksonObjectFactory.getValueSnak(PropertyIdValue propertyId,
Value value)
Creates a
JacksonValueSnak. |
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage