| 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 |
|---|---|
Claim |
DataModelConverter.convert(Claim object) |
static Claim |
Datamodel.makeClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers)
Creates a
Claim. |
| Modifier and Type | Method and Description |
|---|---|
Claim |
DataModelConverter.convert(Claim object) |
static boolean |
Equality.equalsClaim(Claim o1,
Object o2)
Returns true if the parameters are two
Claim objects with exactly
the same data. |
static int |
Hash.hashCode(Claim o)
Returns a hash code for the given object.
|
static Statement |
Datamodel.makeStatement(Claim claim,
List<? extends Reference> references,
StatementRank rank,
String statementId)
Creates a
Statement. |
static String |
ToString.toString(Claim o)
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClaimImpl
Implementation of
Claim. |
| Modifier and Type | Method and Description |
|---|---|
Claim |
StatementImpl.getClaim() |
Claim |
DataObjectFactoryImpl.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers) |
| Modifier and Type | Method and Description |
|---|---|
Statement |
DataObjectFactoryImpl.getStatement(Claim claim,
List<? extends Reference> references,
StatementRank rank,
String statementId) |
| Modifier and Type | Method and Description |
|---|---|
Claim |
Statement.getClaim()
Get the Claim object that this statement refers to.
|
Claim |
DataObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers)
Creates a
Claim. |
| Modifier and Type | Method and Description |
|---|---|
Statement |
DataObjectFactory.getStatement(Claim claim,
List<? extends Reference> references,
StatementRank rank,
String statementId)
Creates a
Statement. |
| Modifier and Type | Class and Description |
|---|---|
class |
ClaimFromJson
Helper class to represent a
Claim deserialized from JSON. |
| Modifier and Type | Method and Description |
|---|---|
Claim |
JacksonStatement.getClaim() |
Claim |
JacksonObjectFactory.getClaim(EntityIdValue subject,
Snak mainSnak,
List<SnakGroup> qualifiers) |
| Modifier and Type | Method and Description |
|---|---|
Statement |
JacksonObjectFactory.getStatement(Claim claim,
List<? extends Reference> references,
StatementRank rank,
String statementId) |
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage