| 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 |
|---|---|
SnakGroup |
DatamodelConverter.copy(SnakGroup object)
Copies a
SnakGroup. |
static SnakGroup |
Datamodel.makeSnakGroup(List<? extends Snak> snaks)
Creates a
SnakGroup. |
| Modifier and Type | Method and Description |
|---|---|
SnakGroup |
DatamodelConverter.copy(SnakGroup object)
Copies a
SnakGroup. |
static boolean |
Equality.equalsSnakGroup(SnakGroup o1,
Object o2)
Returns true if the parameters are two
SnakGroup objects with
exactly the same data. |
static int |
Hash.hashCode(SnakGroup o)
Returns a hash code for the given object.
|
static String |
ToString.toString(SnakGroup o)
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Method and Description |
|---|---|
static Claim |
Datamodel.makeClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers)
Creates a
Claim. |
static Reference |
Datamodel.makeReference(List<SnakGroup> snakGroups)
Creates a
Reference. |
| Modifier and Type | Class and Description |
|---|---|
class |
SnakGroupImpl
Implementation of
SnakGroup. |
| Modifier and Type | Method and Description |
|---|---|
SnakGroup |
DataObjectFactoryImpl.getSnakGroup(List<? extends Snak> snaks) |
| Modifier and Type | Method and Description |
|---|---|
List<SnakGroup> |
ClaimImpl.getQualifiers() |
List<SnakGroup> |
ReferenceImpl.getSnakGroups() |
| Modifier and Type | Method and Description |
|---|---|
Claim |
DataObjectFactoryImpl.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers) |
Reference |
DataObjectFactoryImpl.getReference(List<SnakGroup> snakGroups) |
| Modifier and Type | Method and Description |
|---|---|
SnakGroup |
DataObjectFactory.getSnakGroup(List<? extends Snak> snaks)
Creates a
SnakGroup. |
| Modifier and Type | Method and Description |
|---|---|
List<SnakGroup> |
Claim.getQualifiers()
Groups of auxiliary Snaks, also known as qualifiers, that provide
additional context information for this claim.
|
List<SnakGroup> |
Reference.getSnakGroups()
Get the list of snak groups associated with this reference.
|
| Modifier and Type | Method and Description |
|---|---|
Claim |
DataObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers)
Creates a
Claim. |
Reference |
DataObjectFactory.getReference(List<SnakGroup> snakGroups)
Creates a
Reference. |
| Modifier and Type | Class and Description |
|---|---|
class |
SnakGroupFromJson
Helper class to represent a
SnakGroup deserialized from JSON. |
| Modifier and Type | Method and Description |
|---|---|
SnakGroup |
JacksonObjectFactory.getSnakGroup(List<? extends Snak> snaks) |
| Modifier and Type | Method and Description |
|---|---|
List<SnakGroup> |
ClaimFromJson.getQualifiers() |
List<SnakGroup> |
JacksonReference.getSnakGroups() |
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. |
| Modifier and Type | Method and Description |
|---|---|
Claim |
JacksonObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers) |
Reference |
JacksonObjectFactory.getReference(List<SnakGroup> snakGroups) |
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