Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.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
Modifier 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) Modifier 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
Modifier 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
.Modifier and TypeMethodDescriptionValueSnakImpl.getDatavalue()
ClaimImpl.getValue()
StatementImpl.getValue()
ValueSnakImpl.getValue()
Modifier 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
.ModifierConstructorDescriptionprotected
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
Modifier 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.Modifier 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 SnakModifier 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.Modifier 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
Modifier 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.Modifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.Value
AnyValueConverter.getRdfValue
(Value value, PropertyIdValue propertyIdValue, boolean simple)