| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.json.jackson |
Main package for Jackson-compatible implementations of the WDTK datamodel
interfaces.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonNoValueSnak
Jackson implementation of
NoValueSnak. |
class |
JacksonSomeValueSnak
Jackson implementation of
SomeValueSnak. |
class |
JacksonValueSnak
Jackson implementation of
ValueSnak. |
| Modifier and Type | Method and Description |
|---|---|
JacksonSnak |
JacksonStatement.getMainsnak()
Returns the main snak of the claim of this statement.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<JacksonSnak>> |
JacksonStatement.getQualifiers()
Returns the qualifiers of the claim of this statement.
|
Map<String,List<JacksonSnak>> |
JacksonReference.getSnaks()
Returns the map of snaks as found in JSON.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JacksonStatement.setMainsnak(JacksonSnak mainsnak)
Sets the main snak of the claim of this statement to the given value.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SnakGroup> |
SnakGroupFromJson.makeSnakGroups(Map<String,List<JacksonSnak>> snaks,
List<String> propertyOrder)
Construct a list of
SnakGroup objects from a map from property
ids to snak lists as found in JSON. |
void |
JacksonStatement.setQualifiers(Map<String,List<JacksonSnak>> qualifiers)
Sets the qualifiers to the given value.
|
void |
JacksonReference.setSnaks(Map<String,List<JacksonSnak>> snaks)
Sets the map of snaks to the given value.
|
| Constructor and Description |
|---|
JacksonStatement(String id,
JacksonSnak mainsnak)
TODO review the utility of this constructor.
|
| Constructor and Description |
|---|
SnakGroupFromJson(List<JacksonSnak> snaks) |
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