| 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 |
|---|---|---|
PropertyDocument |
PropertyDocumentBuilder.build() |
Returns the
ItemDocument that has been built. |
PropertyDocument |
DatamodelConverter.copy(PropertyDocument object) |
Copies a
PropertyDocument. |
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. |
| Modifier and Type | Method | Description |
|---|---|---|
PropertyDocument |
DatamodelConverter.copy(PropertyDocument object) |
Copies a
PropertyDocument. |
static boolean |
Equality.equalsPropertyDocument(PropertyDocument o1,
java.lang.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 java.lang.String |
ToString.toString(PropertyDocument o) |
Returns a human-readable string representation of the given object.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
PropertyDocumentImpl |
Implementation of
PropertyDocument. |
| 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 |
|---|---|---|
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) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
EntityDocumentProcessor.processPropertyDocument(PropertyDocument propertyDocument) |
Processes the given PropertyDocument.
|
void |
EntityDocumentProcessorBroker.processPropertyDocument(PropertyDocument propertyDocument) |
|
void |
EntityDocumentProcessorFilter.processPropertyDocument(PropertyDocument propertyDocument) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
JacksonPropertyDocument |
Jackson implementation of
PropertyDocument. |
| 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) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
JsonSerializer.getJsonString(PropertyDocument propertyDocument) |
Serializes the given object in JSON and returns the resulting string.
|
void |
JsonSerializer.processPropertyDocument(PropertyDocument propertyDocument) |
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