Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
Components for downloading and processing Wikibase dump files.
Package for example programs that demonstrate how to use Wikidata Toolkit in practice.
Serializer for RDF
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of PropertyDocument in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionPropertyDocumentBuilder.build()
Returns theItemDocument
that has been built.DatamodelConverter.copy
(PropertyDocument object) Copies aPropertyDocument
.JsonDeserializer.deserializePropertyDocument
(String json) Deserializes a JSON string into aPropertyDocument
.DatamodelFilter.filter
(PropertyDocument property) static PropertyDocument
Datamodel.makePropertyDocument
(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId) Creates aPropertyDocument
with empty revision id.static PropertyDocument
Datamodel.makePropertyDocument
(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) Creates aPropertyDocument
.static PropertyDocument
Datamodel.makePropertyDocument
(PropertyIdValue propertyId, DatatypeIdValue datatypeId) Creates an emptyPropertyDocument
.Modifier and TypeMethodDescriptionDatamodelConverter.copy
(PropertyDocument object) Copies aPropertyDocument
.static boolean
Equality.equalsPropertyDocument
(PropertyDocument o1, Object o2) Returnstrue
if the parameters are twoPropertyDocument
objects with exactly the same data.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 anPropertyDocument
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.ModifierConstructorDescriptionprotected
PropertyDocumentBuilder
(PropertyDocument initialDocument) Constructor when building the property document from an existing one. -
Uses of PropertyDocument in org.wikidata.wdtk.datamodel.implementation
Modifier and TypeMethodDescriptionDataObjectFactoryImpl.getPropertyDocument
(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) PropertyDocumentImpl.withAliases
(String language, List<MonolingualTextValue> aliases) PropertyDocumentImpl.withDescription
(MonolingualTextValue newDescription) PropertyDocumentImpl.withEntityId
(PropertyIdValue newEntityId) PropertyDocumentImpl.withLabel
(MonolingualTextValue newLabel) PropertyDocumentImpl.withoutStatementIds
(Set<String> statementIds) PropertyDocumentImpl.withRevisionId
(long newRevisionId) PropertyDocumentImpl.withStatement
(Statement statement) -
Uses of PropertyDocument in org.wikidata.wdtk.datamodel.interfaces
Modifier and TypeMethodDescriptionDataObjectFactory.getPropertyDocument
(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) Creates aPropertyDocument
.PropertyDocument.withAliases
(String language, List<MonolingualTextValue> aliases) PropertyDocument.withDescription
(MonolingualTextValue newDescription) PropertyDocument.withEntityId
(PropertyIdValue newEntityId) Returns a new version of this document with updated ID.PropertyDocument.withLabel
(MonolingualTextValue newLabel) PropertyDocument.withoutStatementIds
(Set<String> statementIds) PropertyDocument.withRevisionId
(long newRevisionId) PropertyDocument.withStatement
(Statement statement) Modifier and TypeMethodDescriptiondefault void
EntityDocumentProcessor.processPropertyDocument
(PropertyDocument propertyDocument) Processes the given PropertyDocument.void
EntityDocumentProcessorBroker.processPropertyDocument
(PropertyDocument propertyDocument) void
EntityDocumentProcessorFilter.processPropertyDocument
(PropertyDocument propertyDocument) -
Uses of PropertyDocument in org.wikidata.wdtk.dumpfiles
Modifier and TypeMethodDescriptionvoid
EntityTimerProcessor.processPropertyDocument
(PropertyDocument propertyDocument) -
Uses of PropertyDocument in org.wikidata.wdtk.examples
Modifier and TypeMethodDescriptionvoid
ClassPropertyUsageAnalyzer.processPropertyDocument
(PropertyDocument propertyDocument) void
JsonSerializationProcessor.processPropertyDocument
(PropertyDocument propertyDocument) void
TutorialDocumentProcessor.processPropertyDocument
(PropertyDocument propertyDocument) Processes one property document. -
Uses of PropertyDocument in org.wikidata.wdtk.rdf
Modifier and TypeMethodDescriptionvoid
RdfSerializer.processPropertyDocument
(PropertyDocument propertyDocument) void
AbstractRdfConverter.writeInterPropertyLinks
(PropertyDocument document) Writes triples which connect properties with their corresponding rdf properties for statements, simple statements, qualifiers, reference attributes and values.void
RdfConverter.writeInterPropertyLinks
(PropertyDocument document) void
AbstractRdfConverter.writePropertyDatatype
(PropertyDocument document) void
RdfConverter.writePropertyDatatype
(PropertyDocument document) void
AbstractRdfConverter.writePropertyDocument
(PropertyDocument document) void
RdfConverter.writePropertyDocument
(PropertyDocument document) -
Uses of PropertyDocument in org.wikidata.wdtk.wikibaseapi
Modifier and TypeMethodDescriptionWikibaseDataEditor.createPropertyDocument
(PropertyDocument document, String summary, List<String> tags) Creates new property document.WikibaseDataEditor.editPropertyDocument
(PropertyDocument propertyDocument, boolean clear, String summary, List<String> tags) Deprecated.WikibaseDataEditor.updateStatements
(PropertyIdValue propertyIdValue, List<Statement> addStatements, List<Statement> deleteStatements, String summary, List<String> tags) Deprecated.Modifier and TypeMethodDescriptionWikibaseDataEditor.createPropertyDocument
(PropertyDocument document, String summary, List<String> tags) Creates new property document.WikibaseDataEditor.editPropertyDocument
(PropertyDocument propertyDocument, boolean clear, String summary, List<String> tags) Deprecated.
WikibaseDataEditor.editEntityDocument(EntityUpdate, boolean, String, List)
instead.