Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.Value
Packages that use Value
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.
Package for code related to the conversion of data values to RDF in various ways.
-
Uses of Value in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return ValueModifier and TypeMethodDescriptionCopies aValue.DatamodelConverter.visit(EntityIdValue value) DatamodelConverter.visit(GlobeCoordinatesValue value) DatamodelConverter.visit(MonolingualTextValue value) DatamodelConverter.visit(QuantityValue value) DatamodelConverter.visit(StringValue value) DatamodelConverter.visit(UnsupportedValue value) Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type ValueModifier and TypeMethodDescriptionCopies aValue.static ValueSnakDatamodel.makeValueSnak(PropertyIdValue propertyId, Value value) Creates aValueSnak.ReferenceBuilder.withPropertyValue(PropertyIdValue propertyIdValue, Value value) Adds the given property and value to the constructed reference.StatementBuilder.withQualifierValue(PropertyIdValue propertyIdValue, Value value) Adds a qualifier with the given property and value to the constructed statement.Sets the main value for the constructed statement. -
Uses of Value in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement ValueModifier and TypeClassDescriptionclassAbstract base implementation ofEntityIdValuefor Jackson.classJackson implementation ofFormIdValue.classJackson implementation ofGlobeCoordinatesValue.classJackson implementation ofItemIdValue.classJackson implementation ofLexemeIdValue.classJackson implementation ofMediaInfoIdValue.classJackson implementation ofMonolingualTextValue.classJackson implementation ofPropertyIdValue.classJackson implementation ofQuantityValue.classJackson implementation ofSenseIdValue.classJackson implementation ofStringValue.classJackson representation ofMonolingualTextValuedata used in labels, aliases, and descriptions in JSON.classJackson implementation ofTimeValue.classRepresents a entity id value of an unsupported type.classRepresents a value with an unsupported datatype.classAbstract Jackson implementation ofValue.Methods in org.wikidata.wdtk.datamodel.implementation that return ValueModifier and TypeMethodDescriptionValueSnakImpl.getDatavalue()ClaimImpl.getValue()StatementImpl.getValue()ValueSnakImpl.getValue()Methods in org.wikidata.wdtk.datamodel.implementation with parameters of type ValueModifier and TypeMethodDescriptionprotected static StringValueSnakImpl.getJsonPropertyTypeForValueType(Value value) Infer the JSON datatype (represented as a string) from the data value.DataObjectFactoryImpl.getValueSnak(PropertyIdValue propertyId, Value value) Creates aValueSnakImpl.Constructors in org.wikidata.wdtk.datamodel.implementation with parameters of type ValueModifierConstructorDescriptionprotectedValueSnakImpl(String property, String datatype, Value datavalue, String siteIri) Constructor used to deserialize from JSON with Jackson.ValueSnakImpl(PropertyIdValue property, Value value) Constructor. -
Uses of Value in org.wikidata.wdtk.datamodel.interfaces
Subinterfaces of Value in org.wikidata.wdtk.datamodel.interfacesModifier and TypeInterfaceDescriptioninterfaceAn entity is a Value that is represented by a page in Wikibase.interfaceThe id of a Wikibase Lexeme Form.interfaceGlobe coordinates specify a position on some globe (usually Earth, but possibly also another celestial body, such as Mars).interfaceAn IriIdentifiedValue is a Value that is identified by an IRI, which can be used as the canonical identifier for the entity outside of the context of a particular Wikibase installation.interfaceThe id of a Wikibase Item.interfaceThe id of a Wikibase Lexeme.interfaceThe id of a Wikibase MediaInfo.interfaceA monolingual text value represents a text (string) in a certain language.interfaceThe id of a Wikibase Property.interfaceA quantity value represents a number, possibly under some unit.interfaceThe id of a Wikibase Lexeme Sense.interfaceString Values represent a single string.interfaceTime values represent points and intervals in time, and additional information about their format.interfaceRepresents a entity id value of an unsupported type.interfaceRepresents a value with an unsupported datatype.Methods in org.wikidata.wdtk.datamodel.interfaces that return ValueModifier and TypeMethodDescriptiondefault ValueStatementDocument.findStatementValue(String propertyId) Returns the uniqueValuefor the given property, or null if there are zero or many 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.Claim.getValue()Convenience method to get the value of the claim's main snak, or null if there is none.Statement.getValue()Convenience method to get the value of the statement's claim's main snak, or null if there is none.ValueSnak.getValue()Get theValueof this SnakMethods in org.wikidata.wdtk.datamodel.interfaces with parameters of type ValueModifier and TypeMethodDescriptionDataObjectFactory.getValueSnak(PropertyIdValue propertyId, Value value) Creates aValueSnak.default booleanStatementDocument.hasStatementValue(String propertyId, Value value) Returns true if there is a statement for the given property and value.default booleanStatementDocument.hasStatementValue(PropertyIdValue propertyIdValue, Value value) Returns true if there is a statement for the given property and value.Method parameters in org.wikidata.wdtk.datamodel.interfaces with type arguments of type ValueModifier and TypeMethodDescriptiondefault booleanStatementDocument.hasStatementValue(String propertyId, 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, Set<? extends Value> values) Returns true if there is a statement for the given property and one of the given values. -
Uses of Value in org.wikidata.wdtk.rdf.values
Classes in org.wikidata.wdtk.rdf.values with type parameters of type ValueModifier and TypeClassDescriptionclassAbstractValueConverter<V extends Value>classBufferedValueConverter<V extends Value>interfaceValueConverter<V extends Value>Interface for classes that convert one type of Wikibase data value into a RDF.Methods in org.wikidata.wdtk.rdf.values with parameters of type ValueModifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.ValueAnyValueConverter.getRdfValue(Value value, PropertyIdValue propertyIdValue, boolean simple)