Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.PropertyDocument
Packages that use 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
Methods in org.wikidata.wdtk.datamodel.helpers that return PropertyDocumentModifier and TypeMethodDescriptionPropertyDocumentBuilder.build()Returns theItemDocumentthat has been built.DatamodelConverter.copy(PropertyDocument object) Copies aPropertyDocument.JsonDeserializer.deserializePropertyDocument(String json) Deserializes a JSON string into aPropertyDocument.DatamodelFilter.filter(PropertyDocument property) static PropertyDocumentDatamodel.makePropertyDocument(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId) Creates aPropertyDocumentwith empty revision id.static PropertyDocumentDatamodel.makePropertyDocument(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) Creates aPropertyDocument.static PropertyDocumentDatamodel.makePropertyDocument(PropertyIdValue propertyId, DatatypeIdValue datatypeId) Creates an emptyPropertyDocument.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type PropertyDocumentModifier and TypeMethodDescriptionDatamodelConverter.copy(PropertyDocument object) Copies aPropertyDocument.static booleanEquality.equalsPropertyDocument(PropertyDocument o1, Object o2) Returnstrueif the parameters are twoPropertyDocumentobjects with exactly the same data.DatamodelFilter.filter(PropertyDocument property) static PropertyUpdateBuilderPropertyUpdateBuilder.forBaseRevision(PropertyDocument revision) Creates new builder object for constructing update of given base property entity revision.static PropertyDocumentBuilderPropertyDocumentBuilder.fromPropertyDocument(PropertyDocument initialDocument) Starts the construction of anPropertyDocumentfrom the existing document.static StringJsonSerializer.getJsonString(PropertyDocument propertyDocument) Serializes the given object in JSON and returns the resulting string.static intHash.hashCode(PropertyDocument o) Returns a hash code for the given object.voidJsonSerializer.processPropertyDocument(PropertyDocument propertyDocument) static StringToString.toString(PropertyDocument o) Returns a human-readable string representation of the given object.Constructors in org.wikidata.wdtk.datamodel.helpers with parameters of type PropertyDocumentModifierConstructorDescriptionprotectedPropertyDocumentBuilder(PropertyDocument initialDocument) Constructor when building the property document from an existing one. -
Uses of PropertyDocument in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement PropertyDocumentMethods in org.wikidata.wdtk.datamodel.implementation that return PropertyDocumentModifier 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
Methods in org.wikidata.wdtk.datamodel.interfaces that return PropertyDocumentModifier 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) Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type PropertyDocumentModifier and TypeMethodDescriptiondefault voidEntityDocumentProcessor.processPropertyDocument(PropertyDocument propertyDocument) Processes the given PropertyDocument.voidEntityDocumentProcessorBroker.processPropertyDocument(PropertyDocument propertyDocument) voidEntityDocumentProcessorFilter.processPropertyDocument(PropertyDocument propertyDocument) -
Uses of PropertyDocument in org.wikidata.wdtk.dumpfiles
Methods in org.wikidata.wdtk.dumpfiles with parameters of type PropertyDocumentModifier and TypeMethodDescriptionvoidEntityTimerProcessor.processPropertyDocument(PropertyDocument propertyDocument) -
Uses of PropertyDocument in org.wikidata.wdtk.examples
Methods in org.wikidata.wdtk.examples with parameters of type PropertyDocumentModifier and TypeMethodDescriptionvoidClassPropertyUsageAnalyzer.processPropertyDocument(PropertyDocument propertyDocument) voidJsonSerializationProcessor.processPropertyDocument(PropertyDocument propertyDocument) voidTutorialDocumentProcessor.processPropertyDocument(PropertyDocument propertyDocument) Processes one property document. -
Uses of PropertyDocument in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type PropertyDocumentModifier and TypeMethodDescriptionvoidRdfSerializer.processPropertyDocument(PropertyDocument propertyDocument) voidAbstractRdfConverter.writeInterPropertyLinks(PropertyDocument document) Writes triples which connect properties with their corresponding rdf properties for statements, simple statements, qualifiers, reference attributes and values.voidRdfConverter.writeInterPropertyLinks(PropertyDocument document) voidAbstractRdfConverter.writePropertyDatatype(PropertyDocument document) voidRdfConverter.writePropertyDatatype(PropertyDocument document) voidAbstractRdfConverter.writePropertyDocument(PropertyDocument document) voidRdfConverter.writePropertyDocument(PropertyDocument document) -
Uses of PropertyDocument in org.wikidata.wdtk.wikibaseapi
Methods in org.wikidata.wdtk.wikibaseapi that return PropertyDocumentModifier 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.Methods in org.wikidata.wdtk.wikibaseapi with parameters of type PropertyDocumentModifier 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.