| 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.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyDocument |
DatamodelConverter.copy(PropertyDocument object)
Copies a
PropertyDocument. |
static boolean |
Equality.equalsPropertyDocument(PropertyDocument o1,
Object o2)
Returns
true if the parameters are two PropertyDocument objects
with exactly the same data. |
PropertyDocument |
DatamodelFilter.filter(PropertyDocument property) |
static PropertyUpdateBuilder |
PropertyUpdateBuilder.forBaseRevision(PropertyDocument revision)
Creates new builder object for constructing update of given base property
entity revision.
|
static PropertyDocumentBuilder |
PropertyDocumentBuilder.fromPropertyDocument(PropertyDocument initialDocument)
Starts the construction of an
PropertyDocument from the existing
document. |
static String |
JsonSerializer.getJsonString(PropertyDocument propertyDocument)
Serializes the given object in JSON and returns the resulting string.
|
static int |
Hash.hashCode(PropertyDocument o)
Returns a hash code for the given object.
|
void |
JsonSerializer.processPropertyDocument(PropertyDocument propertyDocument) |
static String |
ToString.toString(PropertyDocument o)
Returns a human-readable string representation of the given object.
|
| Constructor and Description |
|---|
PropertyDocumentBuilder(PropertyDocument initialDocument)
Constructor when building the property document from an existing one.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyDocumentImpl
Jackson implementation of
PropertyDocument. |
| Modifier and Type | Method and Description |
|---|---|
PropertyDocument |
DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId,
long revisionId) |
PropertyDocument |
PropertyDocumentImpl.withAliases(String language,
List<MonolingualTextValue> aliases) |
PropertyDocument |
PropertyDocumentImpl.withDescription(MonolingualTextValue newDescription) |
PropertyDocument |
PropertyDocumentImpl.withEntityId(PropertyIdValue newEntityId) |
PropertyDocument |
PropertyDocumentImpl.withLabel(MonolingualTextValue newLabel) |
PropertyDocument |
PropertyDocumentImpl.withoutStatementIds(Set<String> statementIds) |
PropertyDocument |
PropertyDocumentImpl.withRevisionId(long newRevisionId) |
PropertyDocument |
PropertyDocumentImpl.withStatement(Statement statement) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityDocumentProcessorFilter.processPropertyDocument(PropertyDocument propertyDocument) |
default void |
EntityDocumentProcessor.processPropertyDocument(PropertyDocument propertyDocument)
Processes the given PropertyDocument.
|
void |
EntityDocumentProcessorBroker.processPropertyDocument(PropertyDocument propertyDocument) |
Copyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage