| 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 |
Code that is related to the official Wikibase JSON format
as used, e.g., to export result in the Wikibase Web API.
|
| org.wikidata.wdtk.datamodel.json.jackson |
Main package for Jackson-compatible implementations of the WDTK datamodel
interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyDocument |
DataModelConverter.convert(PropertyDocument object) |
static PropertyDocument |
Datamodel.makePropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId)
Creates a
PropertyDocument. |
| Modifier and Type | Method and Description |
|---|---|
PropertyDocument |
DataModelConverter.convert(PropertyDocument object) |
static boolean |
Equality.equalsPropertyDocument(PropertyDocument o1,
Object o2)
Returns true if the parameters are two
PropertyDocument objects
with exactly the same data. |
static int |
Hash.hashCode(PropertyDocument o)
Returns a hash code for the given object.
|
static String |
ToString.toString(PropertyDocument o)
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyDocumentImpl
Implementation of
PropertyDocument. |
| Modifier and Type | Method and Description |
|---|---|
PropertyDocument |
DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
| Modifier and Type | Method and Description |
|---|---|
PropertyDocument |
DataObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId)
Creates a
PropertyDocument. |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityDocumentProcessorBroker.processPropertyDocument(PropertyDocument propertyDocument) |
void |
EntityDocumentProcessor.processPropertyDocument(PropertyDocument propertyDocument)
Processes the given PropertyDocument.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
JsonConverter.getJsonForPropertyDocument(PropertyDocument document)
Returns a JSONObject that encodes the given
PropertyDocument. |
void |
JsonSerializer.processPropertyDocument(PropertyDocument propertyDocument) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonPropertyDocument
Jackson implementation of
PropertyDocument. |
| Modifier and Type | Method and Description |
|---|---|
PropertyDocument |
JacksonObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage