| 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 |
|---|---|---|
DatatypeIdValue |
DatamodelConverter.copy(DatatypeIdValue object) |
Copies a
DatatypeIdValue. |
DatatypeIdValue |
AbstractTermedStatementDocument.findStatementDatatypeIdValue(java.lang.String propertyId) |
|
DatatypeIdValue |
AbstractTermedStatementDocument.findStatementDatatypeIdValue(PropertyIdValue propertyIdValue) |
|
static DatatypeIdValue |
Datamodel.makeDatatypeIdValue(java.lang.String id) |
Creates a
DatatypeIdValue. |
| Modifier and Type | Method | Description |
|---|---|---|
DatatypeIdValue |
DatamodelConverter.copy(DatatypeIdValue object) |
Copies a
DatatypeIdValue. |
static boolean |
Equality.equalsDatatypeIdValue(DatatypeIdValue o1,
java.lang.Object o2) |
Returns true if the parameters are two
DatatypeIdValue objects
with exactly the same data. |
static PropertyDocumentBuilder |
PropertyDocumentBuilder.forPropertyIdAndDatatype(PropertyIdValue propertyIdValue,
DatatypeIdValue datatype) |
Starts the construction of an
PropertyDocument with the given id. |
static int |
Hash.hashCode(DatatypeIdValue o) |
Returns a hash code for the given object.
|
static PropertyDocument |
Datamodel.makePropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId) |
Creates a
PropertyDocument with empty revision id. |
static PropertyDocument |
Datamodel.makePropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId,
long revisionId) |
Creates a
PropertyDocument. |
static PropertyDocument |
Datamodel.makePropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
Creates a
PropertyDocument without statements and empty revision
id. |
static java.lang.String |
ToString.toString(DatatypeIdValue o) |
Returns a human-readable string representation of the given object.
|
Value |
DatamodelConverter.visit(DatatypeIdValue value) |
| Constructor | Description |
|---|---|
PropertyDocumentBuilder(PropertyIdValue propertyIdValue,
DatatypeIdValue datatype) |
Constructor.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DatatypeIdImpl |
Implementation of
DatatypeIdValue |
| Modifier and Type | Method | Description |
|---|---|---|
DatatypeIdValue |
PropertyDocumentImpl.getDatatype() |
|
DatatypeIdValue |
DataObjectFactoryImpl.getDatatypeIdValue(java.lang.String id) |
| Modifier and Type | Method | Description |
|---|---|---|
PropertyDocument |
DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId) |
|
PropertyDocument |
DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId,
long revisionId) |
|
PropertyDocument |
DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
| Modifier and Type | Method | Description |
|---|---|---|
DatatypeIdValue |
StatementDocument.findStatementDatatypeIdValue(java.lang.String propertyId) |
Returns the unique
DatatypeIdValue for the given property, or
null if there are zero or many such values given in statements for this
property. |
DatatypeIdValue |
StatementDocument.findStatementDatatypeIdValue(PropertyIdValue propertyIdValue) |
Returns the unique
DatatypeIdValue for the given property, or
null if there are zero or many such values given in statements for this
property. |
DatatypeIdValue |
PropertyDocument.getDatatype() |
Get the datatype id of the datatype defined for this property.
|
DatatypeIdValue |
DataObjectFactory.getDatatypeIdValue(java.lang.String id) |
Creates a
DatatypeIdValue. |
| Modifier and Type | Method | Description |
|---|---|---|
PropertyDocument |
DataObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId) |
|
PropertyDocument |
DataObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId,
long revisionId) |
Creates a
PropertyDocument. |
PropertyDocument |
DataObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
|
T |
ValueVisitor.visit(DatatypeIdValue value) |
Visits a DatatypeIdValue and returns a result.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
JacksonDatatypeId |
Jackson implementation of
DatatypeIdValue. |
| Modifier and Type | Method | Description |
|---|---|---|
DatatypeIdValue |
JacksonPropertyDocument.getDatatype() |
|
DatatypeIdValue |
JacksonObjectFactory.getDatatypeIdValue(java.lang.String id) |
| Modifier and Type | Method | Description |
|---|---|---|
PropertyDocument |
JacksonObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId) |
|
PropertyDocument |
JacksonObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
java.util.List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId,
long revisionId) |
|
PropertyDocument |
JacksonObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
java.util.List<MonolingualTextValue> labels,
java.util.List<MonolingualTextValue> descriptions,
java.util.List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
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