| 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 | Description |
|---|---|---|
SnakGroup |
DatamodelConverter.copy(SnakGroup object) |
Copies a
SnakGroup. |
static SnakGroup |
Datamodel.makeSnakGroup(java.util.List<? extends Snak> snaks) |
Creates a
SnakGroup. |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.List<SnakGroup> |
StatementBuilder.getQualifierGroups() |
Returns a list of
SnakGroup objects for the currently stored
qualifiers. |
protected java.util.List<SnakGroup> |
ReferenceBuilder.getSnakGroups() |
Returns a list of
SnakGroup objects for the currently stored
snaks. |
| Modifier and Type | Method | Description |
|---|---|---|
SnakGroup |
DatamodelConverter.copy(SnakGroup object) |
Copies a
SnakGroup. |
static boolean |
Equality.equalsSnakGroup(SnakGroup o1,
java.lang.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 java.lang.String |
ToString.toString(SnakGroup o) |
Returns a human-readable string representation of the given object.
|
StatementBuilder |
StatementBuilder.withQualifiers(SnakGroup qualifiers) |
Adds all qualifiers from the given
SnakGroup to the constructed
statement. |
| Modifier and Type | Method | Description |
|---|---|---|
static Claim |
Datamodel.makeClaim(EntityIdValue subject,
Snak mainSnak,
java.util.List<SnakGroup> qualifiers) |
Creates a
Claim. |
static Reference |
Datamodel.makeReference(java.util.List<SnakGroup> snakGroups) |
Creates a
Reference. |
StatementBuilder |
StatementBuilder.withQualifiers(java.util.List<SnakGroup> qualifiers) |
Adds all qualifiers from the given list of
SnakGroup to the
constructed statement. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
SnakGroupImpl |
Implementation of
SnakGroup. |
| Modifier and Type | Method | Description |
|---|---|---|
SnakGroup |
DataObjectFactoryImpl.getSnakGroup(java.util.List<? extends Snak> snaks) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<SnakGroup> |
ClaimImpl.getQualifiers() |
|
java.util.List<SnakGroup> |
ReferenceImpl.getSnakGroups() |
| Modifier and Type | Method | Description |
|---|---|---|
Claim |
DataObjectFactoryImpl.getClaim(EntityIdValue subject,
Snak mainSnak,
java.util.List<SnakGroup> qualifiers) |
|
Reference |
DataObjectFactoryImpl.getReference(java.util.List<SnakGroup> snakGroups) |
| Modifier and Type | Method | Description |
|---|---|---|
SnakGroup |
DataObjectFactory.getSnakGroup(java.util.List<? extends Snak> snaks) |
Creates a
SnakGroup. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<SnakGroup> |
Claim.getQualifiers() |
Groups of auxiliary Snaks, also known as qualifiers, that provide
additional context information for this claim.
|
java.util.List<SnakGroup> |
Reference.getSnakGroups() |
Get the list of snak groups associated with this reference.
|
| Modifier and Type | Method | Description |
|---|---|---|
Claim |
DataObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
java.util.List<SnakGroup> qualifiers) |
Creates a
Claim. |
Reference |
DataObjectFactory.getReference(java.util.List<SnakGroup> snakGroups) |
Creates a
Reference. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
SnakGroupFromJson |
Helper class to represent a
SnakGroup deserialized from JSON. |
| Modifier and Type | Method | Description |
|---|---|---|
SnakGroup |
JacksonObjectFactory.getSnakGroup(java.util.List<? extends Snak> snaks) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<SnakGroup> |
ClaimFromJson.getQualifiers() |
|
java.util.List<SnakGroup> |
JacksonReference.getSnakGroups() |
|
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. |
| Modifier and Type | Method | Description |
|---|---|---|
Claim |
JacksonObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
java.util.List<SnakGroup> qualifiers) |
|
Reference |
JacksonObjectFactory.getReference(java.util.List<SnakGroup> snakGroups) |
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