| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.json.jackson |
Main package for Jackson-compatible implementations of the WDTK datamodel
interfaces.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
JacksonNoValueSnak |
Jackson implementation of
NoValueSnak. |
class |
JacksonSomeValueSnak |
Jackson implementation of
SomeValueSnak. |
class |
JacksonValueSnak |
Jackson implementation of
ValueSnak. |
| Modifier and Type | Method | Description |
|---|---|---|
JacksonSnak |
JacksonStatement.getMainsnak() |
Returns the main snak of the claim of this statement.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.List<JacksonSnak>> |
JacksonStatement.getQualifiers() |
Returns the qualifiers of the claim of this statement.
|
java.util.Map<java.lang.String,java.util.List<JacksonSnak>> |
JacksonReference.getSnaks() |
Returns the map of snaks as found in JSON.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
JacksonStatement.setMainsnak(JacksonSnak mainsnak) |
Sets the main snak of the claim of this statement to the given value.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<SnakGroup> |
SnakGroupFromJson.makeSnakGroups(java.util.Map<java.lang.String,java.util.List<JacksonSnak>> snaks,
java.util.List<java.lang.String> propertyOrder) |
Construct a list of
SnakGroup objects from a map from property
ids to snak lists as found in JSON. |
void |
JacksonStatement.setQualifiers(java.util.Map<java.lang.String,java.util.List<JacksonSnak>> qualifiers) |
Sets the qualifiers to the given value.
|
void |
JacksonReference.setSnaks(java.util.Map<java.lang.String,java.util.List<JacksonSnak>> snaks) |
Sets the map of snaks to the given value.
|
| Constructor | Description |
|---|---|
JacksonStatement(java.lang.String id,
JacksonSnak mainsnak) |
TODO review the utility of this constructor.
|
| Constructor | Description |
|---|---|
SnakGroupFromJson(java.util.List<JacksonSnak> snaks) |
Copyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage