Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue
Packages that use PropertyIdValue
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
Package for code related to the conversion of data values to RDF in various ways.
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of PropertyIdValue in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return PropertyIdValueModifier and TypeMethodDescriptionDatamodelConverter.copy(PropertyIdValue object) Copies aPropertyIdValue.static PropertyIdValueDatamodel.makePropertyIdValue(String id, String siteIri) Creates aPropertyIdValue.static PropertyIdValueDatamodel.makeWikidataPropertyIdValue(String id) Creates aPropertyIdValue.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type PropertyIdValueModifier and TypeMethodDescriptionDatamodelConverter.copy(PropertyIdValue object) Copies aPropertyIdValue.static PropertyUpdateBuilderPropertyUpdateBuilder.forBaseRevisionId(PropertyIdValue propertyId, long revisionId) Creates new builder object for constructing update of property entity with given revision ID.static PropertyUpdateBuilderPropertyUpdateBuilder.forEntityId(PropertyIdValue propertyId) Creates new builder object for constructing update of property entity with given ID.static PropertyDocumentBuilderPropertyDocumentBuilder.forPropertyIdAndDatatype(PropertyIdValue propertyIdValue, String datatypeId) Deprecated.static PropertyDocumentBuilderPropertyDocumentBuilder.forPropertyIdAndDatatype(PropertyIdValue propertyIdValue, DatatypeIdValue datatype) Starts the construction of anPropertyDocumentwith the given id.static PropertyDocumentBuilderPropertyDocumentBuilder.forPropertyIdAndJsonDatatype(PropertyIdValue propertyIdValue, String datatypeId) Starts the construction of anPropertyDocumentwith the given id.static StatementBuilderStatementBuilder.forSubjectAndProperty(EntityIdValue subject, PropertyIdValue property) Starts the construction of aStatementwith the given subject.StatementBuilder.getQualifierList(PropertyIdValue propertyIdValue) Returns the list ofSnakobjects for a given qualifier property.ReferenceBuilder.getSnakList(PropertyIdValue propertyIdValue) Returns the list ofSnakobjects for a given property.static NoValueSnakDatamodel.makeNoValueSnak(PropertyIdValue propertyId) Creates aNoValueSnak.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.static PropertyUpdateDatamodel.makePropertyUpdate(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Creates newPropertyUpdate.static SomeValueSnakDatamodel.makeSomeValueSnak(PropertyIdValue propertyId) Creates aSomeValueSnak.static ValueSnakDatamodel.makeValueSnak(PropertyIdValue propertyId, Value value) Creates aValueSnak.static StringToString.toString(PropertyIdValue o) Returns a human-readable string representation of the given object.ReferenceBuilder.withNoValue(PropertyIdValue propertyIdValue) Adds aNoValueSnakwith the given property to the constructed reference.ReferenceBuilder.withPropertyValue(PropertyIdValue propertyIdValue, Value value) Adds the given property and value to the constructed reference.StatementBuilder.withQualifierNoValue(PropertyIdValue propertyIdValue) Adds aNoValueSnakqualifier with the given property to the constructed statement.StatementBuilder.withQualifierSomeValue(PropertyIdValue propertyIdValue) Adds aSomeValueSnakqualifier with the given property to the constructed statement.StatementBuilder.withQualifierValue(PropertyIdValue propertyIdValue, Value value) Adds a qualifier with the given property and value to the constructed statement.ReferenceBuilder.withSomeValue(PropertyIdValue propertyIdValue) Adds aSomeValueSnakwith the given property to the constructed reference.Constructors in org.wikidata.wdtk.datamodel.helpers with parameters of type PropertyIdValueModifierConstructorDescriptionprotectedPropertyDocumentBuilder(PropertyIdValue propertyIdValue, DatatypeIdValue datatype) Constructor when building the property document from scratch.protectedStatementBuilder(EntityIdValue subject, PropertyIdValue property) Constructor. -
Uses of PropertyIdValue in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement PropertyIdValueMethods in org.wikidata.wdtk.datamodel.implementation that return PropertyIdValueModifier and TypeMethodDescriptionPropertyDocumentImpl.getEntityId()PropertyUpdateImpl.getEntityId()SnakGroupImpl.getProperty()StatementGroupImpl.getProperty()SnakImpl.getPropertyId()DataObjectFactoryImpl.getPropertyIdValue(String id, String siteIri) Methods in org.wikidata.wdtk.datamodel.implementation with parameters of type PropertyIdValueModifier and TypeMethodDescriptionDataObjectFactoryImpl.getNoValueSnak(PropertyIdValue propertyId) DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) DataObjectFactoryImpl.getPropertyUpdate(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) DataObjectFactoryImpl.getSomeValueSnak(PropertyIdValue propertyId) DataObjectFactoryImpl.getValueSnak(PropertyIdValue propertyId, Value value) Creates aValueSnakImpl.PropertyDocumentImpl.withEntityId(PropertyIdValue newEntityId) Constructors in org.wikidata.wdtk.datamodel.implementation with parameters of type PropertyIdValueModifierConstructorDescriptionNoValueSnakImpl(PropertyIdValue property) Constructor.PropertyDocumentImpl(PropertyIdValue id, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statements, DatatypeIdValue datatype, long revisionId) Constructor for instances that are built manually, rather than from JSON.PropertyUpdateImpl(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Initializes new property update.SnakImpl(PropertyIdValue property) Constructor.SomeValueSnakImpl(PropertyIdValue property) Constructor.ValueSnakImpl(PropertyIdValue property, Value value) Constructor. -
Uses of PropertyIdValue in org.wikidata.wdtk.datamodel.interfaces
Fields in org.wikidata.wdtk.datamodel.interfaces declared as PropertyIdValueModifier and TypeFieldDescriptionstatic final PropertyIdValuePropertyIdValue.NULLFixedPropertyIdValuethat refers to a non-existing property.Methods in org.wikidata.wdtk.datamodel.interfaces that return PropertyIdValueModifier and TypeMethodDescriptiondefault PropertyIdValueStatementDocument.findStatementPropertyIdValue(String propertyId) Returns the uniquePropertyIdValuefor the given property, or null if there are zero or many such values given in statements for this property.default PropertyIdValueStatementDocument.findStatementPropertyIdValue(PropertyIdValue propertyIdValue) Returns the uniquePropertyIdValuefor the given property, or null if there are zero or many such values given in statements for this property.PropertyDocument.getEntityId()Return the ID of the item that the data refers to.PropertyUpdate.getEntityId()SnakGroup.getProperty()Get the property used by each snak in this group.StatementGroup.getProperty()Get the property used in the main snak of theClaimof each statement in this group.Snak.getPropertyId()Get the id of the property that this snak refers to.DataObjectFactory.getPropertyIdValue(String id, String siteIri) Creates aPropertyIdValue.Methods in org.wikidata.wdtk.datamodel.interfaces that return types with arguments of type PropertyIdValueModifier and TypeMethodDescriptionDocumentDataFilter.getPropertyFilter()Returns the (possibly empty) set ofPropertyIdValueobjects that are used to filter statements, or null if no such filter is configured (default).Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type PropertyIdValueModifier and TypeMethodDescriptiondefault StatementStatementDocument.findStatement(PropertyIdValue propertyIdValue) Returns the uniqueStatementfor the given property, or null if there are zero or many statements for this property.default EntityIdValueStatementDocument.findStatementEntityIdValue(PropertyIdValue propertyIdValue) Returns the uniqueEntityIdValuefor the given property, or null if there are zero or many such values given in statements for this property.default GlobeCoordinatesValueStatementDocument.findStatementGlobeCoordinatesValue(PropertyIdValue propertyIdValue) Returns the uniqueGlobeCoordinatesValuefor the given property, or null if there are zero or many such values given in statements for this property.default StatementGroupStatementDocument.findStatementGroup(PropertyIdValue propertyIdValue) Returns theStatementGroupfor the given property, or null if there are no statements for this property.default ItemIdValueStatementDocument.findStatementItemIdValue(PropertyIdValue propertyIdValue) Returns the uniqueItemIdValuefor the given property, or null if there are zero or many such values given in statements for this property.default MonolingualTextValueStatementDocument.findStatementMonolingualTextValue(PropertyIdValue propertyIdValue) Returns the uniqueMonolingualTextValuefor the given property, or null if there are zero or many such values given in statements for this property.default PropertyIdValueStatementDocument.findStatementPropertyIdValue(PropertyIdValue propertyIdValue) Returns the uniquePropertyIdValuefor the given property, or null if there are zero or many such values given in statements for this property.default QuantityValueStatementDocument.findStatementQuantityValue(PropertyIdValue propertyIdValue) Returns the uniqueQuantityValuefor the given property, or null if there are zero or many such values given in statements for this property.default StringValueStatementDocument.findStatementStringValue(PropertyIdValue propertyIdValue) Returns the uniqueStringValuefor the given property, or null if there are zero or many such values given in statements for this property.default TimeValueStatementDocument.findStatementTimeValue(PropertyIdValue propertyIdValue) Returns the uniqueTimeValuefor the given property, or null if there are zero or many such values given in statements for this property.default ValueStatementDocument.findStatementValue(PropertyIdValue propertyIdValue) Returns the uniqueValuefor the given property, or null if there are zero or many values given in statements for this property.DataObjectFactory.getNoValueSnak(PropertyIdValue propertyId) Creates aNoValueSnak.DataObjectFactory.getPropertyDocument(PropertyIdValue propertyId, List<MonolingualTextValue> labels, List<MonolingualTextValue> descriptions, List<MonolingualTextValue> aliases, List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) Creates aPropertyDocument.DataObjectFactory.getPropertyUpdate(PropertyIdValue entityId, long revisionId, TermUpdate labels, TermUpdate descriptions, Map<String, AliasUpdate> aliases, StatementUpdate statements) Creates newPropertyUpdate.DataObjectFactory.getSomeValueSnak(PropertyIdValue propertyId) Creates aSomeValueSnak.DataObjectFactory.getValueSnak(PropertyIdValue propertyId, Value value) Creates aValueSnak.default booleanStatementDocument.hasStatement(PropertyIdValue propertyIdValue) Returns true if there is a statement for the given property.default booleanStatementDocument.hasStatementValue(PropertyIdValue propertyIdValue, Set<? extends Value> values) Returns true if there is a statement for the given property and one of the given values.default booleanStatementDocument.hasStatementValue(PropertyIdValue propertyIdValue, Value value) Returns true if there is a statement for the given property and value.booleanDocumentDataFilter.includePropertyId(PropertyIdValue propertyIdValue) Returns true if the given property is included (not filtered).PropertyDocument.withEntityId(PropertyIdValue newEntityId) Returns a new version of this document with updated ID.Method parameters in org.wikidata.wdtk.datamodel.interfaces with type arguments of type PropertyIdValueModifier and TypeMethodDescriptionvoidDocumentDataFilter.setPropertyFilter(Set<PropertyIdValue> propertyFilter) Sets the (possibly empty) set ofPropertyIdValueobjects that are used to filter statements. -
Uses of PropertyIdValue in org.wikidata.wdtk.dumpfiles
Method parameters in org.wikidata.wdtk.dumpfiles with type arguments of type PropertyIdValueModifier and TypeMethodDescriptionvoidDumpProcessingController.setPropertyFilter(Set<PropertyIdValue> propertyFilter) Sets a property filter. -
Uses of PropertyIdValue in org.wikidata.wdtk.examples
Methods in org.wikidata.wdtk.examples with parameters of type PropertyIdValueModifier and TypeMethodDescriptionprotected static StatementGroupEditOnlineDataExample.findStatementGroup(PropertyIdValue pid, StatementDocument document) Finds theStatementGroupfor the given property in a document. -
Uses of PropertyIdValue in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type PropertyIdValueModifier and TypeMethodDescriptionvoidOwlDeclarationBuffer.addDatatypeProperty(PropertyIdValue propertyIdValue) Adds the given property id value to the list of properties that should be declared as OWL datatype properties.voidOwlDeclarationBuffer.addObjectProperty(PropertyIdValue propertyIdValue) Adds the given property id value to the list of properties that should be declared as OWL object properties.protected voidPropertyRegister.fetchPropertyInformation(PropertyIdValue property) Fetches the information of the given property from the Web API.PropertyRegister.getPropertyType(PropertyIdValue propertyIdValue) Returns the IRI of the primitive type of anPropertyIdValue.static StringVocabulary.getPropertyUri(PropertyIdValue propertyIdValue, PropertyContext propertyContext) Get the URI for the given property in the given context.PropertyRegister.getPropertyUriPattern(PropertyIdValue propertyIdValue) Returns the URI Pattern of aPropertyIdValuethat should be used to create URIs of external resources from statement values for the property.voidPropertyRegister.setPropertyType(PropertyIdValue propertyIdValue, String datatypeIri) Sets datatypeIri an IRI of the primitive type of an Property forPropertyIdValue.PropertyRegister.setPropertyTypeFromEntityIdValue(PropertyIdValue propertyIdValue, EntityIdValue value) Returns the IRI of the primitive Type of an Property forEntityIdValueobjects.PropertyRegister.setPropertyTypeFromGlobeCoordinatesValue(PropertyIdValue propertyIdValue, GlobeCoordinatesValue value) Returns the IRI of the primitive Type of an Property forGlobeCoordinatesValueobjects.PropertyRegister.setPropertyTypeFromMonolingualTextValue(PropertyIdValue propertyIdValue, MonolingualTextValue value) Returns the IRI of the primitive Type of an Property forMonolingualTextValueobjects.PropertyRegister.setPropertyTypeFromQuantityValue(PropertyIdValue propertyIdValue, QuantityValue value) Returns the IRI of the primitive Type of an Property forQuantityValueobjects.PropertyRegister.setPropertyTypeFromStringValue(PropertyIdValue propertyIdValue, StringValue value) Returns the IRI of the primitive Type of an Property forStringValueobjects.PropertyRegister.setPropertyTypeFromTimeValue(PropertyIdValue propertyIdValue, TimeValue value) Returns the IRI of the primitive Type of an Property forTimeValueobjects. -
Uses of PropertyIdValue in org.wikidata.wdtk.rdf.values
Methods in org.wikidata.wdtk.rdf.values with parameters of type PropertyIdValueModifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.ValueAnyValueConverter.getRdfValue(Value value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueEntityIdValueConverter.getRdfValue(EntityIdValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueGlobeCoordinatesValueConverter.getRdfValue(GlobeCoordinatesValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueMonolingualTextValueConverter.getRdfValue(MonolingualTextValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueQuantityValueConverter.getRdfValue(QuantityValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueStringValueConverter.getRdfValue(StringValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueTimeValueConverter.getRdfValue(TimeValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueValueConverter.getRdfValue(V value, PropertyIdValue propertyIdValue, boolean simple) Returns an RDF value that should be used to represent the given Wikibase data value in RDF.protected voidAbstractValueConverter.logIncompatibleValueError(PropertyIdValue propertyIdValue, String datatype, String valueType) Logs a message for a case where the value of a property does not fit to its declared datatype. -
Uses of PropertyIdValue in org.wikidata.wdtk.wikibaseapi
Methods in org.wikidata.wdtk.wikibaseapi with parameters of type PropertyIdValueModifier and TypeMethodDescription<T extends StatementDocument>
voidWikibaseDataEditor.nullEdit(PropertyIdValue propertyId) Deprecated.UseWikibaseDataEditor.nullEdit(EntityIdValue)instead.WikibaseDataEditor.updateStatements(PropertyIdValue propertyIdValue, List<Statement> addStatements, List<Statement> deleteStatements, String summary, List<String> tags) Deprecated.
PropertyDocumentBuilder.forPropertyIdAndJsonDatatype(PropertyIdValue, String)