Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.QuantityValue
Packages that use QuantityValue
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 examples of bots that edit Wikidata.
Serializer for RDF
Package for code related to the conversion of data values to RDF in various ways.
-
Uses of QuantityValue in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return QuantityValueModifier and TypeMethodDescriptionDatamodelConverter.copy(QuantityValue object) Copies aQuantityValue.static QuantityValueDatamodel.makeQuantityValue(long numericValue, long lowerBound, long upperBound) Creates aQuantityValuefrom long numbers.static QuantityValueDatamodel.makeQuantityValue(BigDecimal numericValue) Creates aQuantityValuewith an empty unit and without bounds.static QuantityValueDatamodel.makeQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound) Creates aQuantityValuewith an empty unit.static QuantityValueDatamodel.makeQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound, ItemIdValue unit) Creates aQuantityValue.static QuantityValueDatamodel.makeQuantityValue(BigDecimal numericValue, ItemIdValue unit) Creates aQuantityValuewithout bounds.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type QuantityValueModifier and TypeMethodDescriptionDatamodelConverter.copy(QuantityValue object) Copies aQuantityValue.static booleanEquality.equalsQuantityValue(QuantityValue o1, Object o2) Returnstrueif the parameters are twoQuantityValueobjects with exactly the same data.static intHash.hashCode(QuantityValue o) Returns a hash code for the given object.static StringToString.toString(QuantityValue o) Returns a human-readable string representation of the given object.DatamodelConverter.visit(QuantityValue value) -
Uses of QuantityValue in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement QuantityValueMethods in org.wikidata.wdtk.datamodel.implementation that return QuantityValueModifier and TypeMethodDescriptionDataObjectFactoryImpl.getQuantityValue(BigDecimal numericValue) DataObjectFactoryImpl.getQuantityValue(BigDecimal numericValue, String unit) DataObjectFactoryImpl.getQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound) DataObjectFactoryImpl.getQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound, String unit) Deprecated.DataObjectFactoryImpl.getQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound, ItemIdValue unit) DataObjectFactoryImpl.getQuantityValue(BigDecimal numericValue, ItemIdValue unit) -
Uses of QuantityValue in org.wikidata.wdtk.datamodel.interfaces
Methods in org.wikidata.wdtk.datamodel.interfaces that return QuantityValueModifier and TypeMethodDescriptiondefault QuantityValueStatementDocument.findStatementQuantityValue(String propertyId) Returns the uniqueQuantityValuefor 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.DataObjectFactory.getQuantityValue(BigDecimal numericValue) Creates aQuantityValuewithout a unit of measurement and bounds.DataObjectFactory.getQuantityValue(BigDecimal numericValue, String unit) Deprecated.DataObjectFactory.getQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound) Creates aQuantityValuewithout a unit of measurement.DataObjectFactory.getQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound, String unit) DataObjectFactory.getQuantityValue(BigDecimal numericValue, BigDecimal lowerBound, BigDecimal upperBound, ItemIdValue unit) Creates aQuantityValue.DataObjectFactory.getQuantityValue(BigDecimal numericValue, ItemIdValue unit) Creates aQuantityValuewithout bounds.Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type QuantityValueModifier and TypeMethodDescriptionValueVisitor.visit(QuantityValue value) Visits a QuantityValue and returns a result. -
Uses of QuantityValue in org.wikidata.wdtk.examples.bots
Methods in org.wikidata.wdtk.examples.bots with parameters of type QuantityValueModifier and TypeMethodDescriptionprotected booleanFixIntegerQuantityPrecisionsBot.isPlusMinusOneValue(QuantityValue quantityValue) Checks if the given value is a number with precision +/-1. -
Uses of QuantityValue in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type QuantityValueModifier and TypeMethodDescriptionstatic StringVocabulary.getQuantityValueUri(QuantityValue value) PropertyRegister.setPropertyTypeFromQuantityValue(PropertyIdValue propertyIdValue, QuantityValue value) Returns the IRI of the primitive Type of an Property forQuantityValueobjects. -
Uses of QuantityValue in org.wikidata.wdtk.rdf.values
Methods in org.wikidata.wdtk.rdf.values with parameters of type QuantityValueModifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.ValueQuantityValueConverter.getRdfValue(QuantityValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValueAnyValueConverter.visit(QuantityValue value) voidQuantityValueConverter.writeValue(QuantityValue value, org.eclipse.rdf4j.model.Resource resource)
DataObjectFactory.getQuantityValue(BigDecimal, ItemIdValue)