| 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.
|
| org.wikidata.wdtk.datamodel.json.jackson.datavalues |
Jackson-compatible implementation of all WDTK
Value interfaces for use as
snak values. |
| Modifier and Type | Method and Description |
|---|---|
MonolingualTextValue |
DataModelConverter.convert(MonolingualTextValue object) |
static MonolingualTextValue |
Datamodel.makeMonolingualTextValue(String text,
String languageCode)
Creates a
MonolingualTextValue. |
| Modifier and Type | Method and Description |
|---|---|
MonolingualTextValue |
DataModelConverter.convert(MonolingualTextValue object) |
static boolean |
Equality.equalsMonolingualTextValue(MonolingualTextValue o1,
Object o2)
Returns true if the parameters are two
MonolingualTextValue
objects with exactly the same data. |
static int |
Hash.hashCode(MonolingualTextValue o)
Returns a hash code for the given object.
|
static String |
ToString.toString(MonolingualTextValue o)
Returns a human-readable string representation of the given object.
|
Value |
DataModelConverter.visit(MonolingualTextValue value) |
| Modifier and Type | Class and Description |
|---|---|
class |
MonolingualTextValueImpl |
| Modifier and Type | Method and Description |
|---|---|
MonolingualTextValue |
DataObjectFactoryImpl.getMonolingualTextValue(String text,
String languageCode) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<MonolingualTextValue>> |
TermedDocumentImpl.getAliases() |
Map<String,MonolingualTextValue> |
TermedDocumentImpl.getDescriptions() |
Map<String,MonolingualTextValue> |
TermedDocumentImpl.getLabels() |
| Modifier and Type | Method and Description |
|---|---|
MonolingualTextValue |
DataObjectFactory.getMonolingualTextValue(String text,
String languageCode)
Creates a
MonolingualTextValue. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<MonolingualTextValue>> |
TermedDocument.getAliases()
Return a Map from Wikibase language codes to lists of alias labels for a
given language.
|
Map<String,MonolingualTextValue> |
TermedDocument.getDescriptions()
Return a Map from Wikibase language codes to descriptions.
|
Map<String,MonolingualTextValue> |
TermedDocument.getLabels()
Return a Map from Wikibase language codes to labels.
|
| Modifier and Type | Method and Description |
|---|---|
T |
ValueVisitor.visit(MonolingualTextValue value)
Visits a MonolingualTextValue and returns a result.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
ValueJsonConverter.visit(MonolingualTextValue value) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonMonolingualTextValue
Jackson representation of
MonolingualTextValue data used in labels,
aliases, and descriptions in JSON. |
| Modifier and Type | Method and Description |
|---|---|
MonolingualTextValue |
JacksonObjectFactory.getMonolingualTextValue(String text,
String languageCode) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<MonolingualTextValue>> |
JacksonTermedDocument.getAliases() |
Map<String,MonolingualTextValue> |
JacksonTermedDocument.getDescriptions() |
Map<String,MonolingualTextValue> |
JacksonTermedDocument.getLabels() |
| Constructor and Description |
|---|
JacksonMonolingualTextValue(MonolingualTextValue mltv)
Copy constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonValueMonolingualText
Jackson implementation of
MonolingualTextValue. |
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage