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 ValueSnak
Datamodel.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 TypeClassDescriptionclass
Abstract base implementation ofEntityIdValue
for Jackson.class
Jackson implementation ofFormIdValue
.class
Jackson implementation ofGlobeCoordinatesValue
.class
Jackson implementation ofItemIdValue
.class
Jackson implementation ofLexemeIdValue
.class
Jackson implementation ofMediaInfoIdValue
.class
Jackson implementation ofMonolingualTextValue
.class
Jackson implementation ofPropertyIdValue
.class
Jackson implementation ofQuantityValue
.class
Jackson implementation ofSenseIdValue
.class
Jackson implementation ofStringValue
.class
Jackson representation ofMonolingualTextValue
data used in labels, aliases, and descriptions in JSON.class
Jackson implementation ofTimeValue
.class
Represents a entity id value of an unsupported type.class
Represents a value with an unsupported datatype.class
Abstract 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 String
ValueSnakImpl.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 ValueModifierConstructorDescriptionprotected
ValueSnakImpl
(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 TypeInterfaceDescriptioninterface
An entity is a Value that is represented by a page in Wikibase.interface
The id of a Wikibase Lexeme Form.interface
Globe coordinates specify a position on some globe (usually Earth, but possibly also another celestial body, such as Mars).interface
An 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.interface
The id of a Wikibase Item.interface
The id of a Wikibase Lexeme.interface
The id of a Wikibase MediaInfo.interface
A monolingual text value represents a text (string) in a certain language.interface
The id of a Wikibase Property.interface
A quantity value represents a number, possibly under some unit.interface
The id of a Wikibase Lexeme Sense.interface
String Values represent a single string.interface
Time values represent points and intervals in time, and additional information about their format.interface
Represents a entity id value of an unsupported type.interface
Represents a value with an unsupported datatype.Methods in org.wikidata.wdtk.datamodel.interfaces that return ValueModifier and TypeMethodDescriptiondefault Value
StatementDocument.findStatementValue
(String propertyId) Returns the uniqueValue
for the given property, or null if there are zero or many values given in statements for this property.default Value
StatementDocument.findStatementValue
(PropertyIdValue propertyIdValue) Returns the uniqueValue
for 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 theValue
of this SnakMethods in org.wikidata.wdtk.datamodel.interfaces with parameters of type ValueModifier and TypeMethodDescriptionDataObjectFactory.getValueSnak
(PropertyIdValue propertyId, Value value) Creates aValueSnak
.default boolean
StatementDocument.hasStatementValue
(String propertyId, Value value) Returns true if there is a statement for the given property and value.default boolean
StatementDocument.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 boolean
StatementDocument.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 boolean
StatementDocument.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 TypeClassDescriptionclass
AbstractValueConverter<V extends Value>
class
BufferedValueConverter<V extends Value>
interface
ValueConverter<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.Value
AnyValueConverter.getRdfValue
(Value value, PropertyIdValue propertyIdValue, boolean simple)