| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.json |
Code that is related to the official Wikibase JSON format
as used, e.g., to export result in the Wikibase Web API.
|
| org.wikidata.wdtk.datamodel.json.jackson |
Main package for Jackson-compatible implementations of the WDTK datamodel
interfaces.
|
| org.wikidata.wdtk.datamodel.json.jackson.datavalues |
Jackson-compatible implementation of all WDTK
Value interfaces for use as
snak values. |
| Modifier and Type | Method and Description |
|---|---|
QuantityValue |
DataModelConverter.convert(QuantityValue object) |
static QuantityValue |
Datamodel.makeQuantityValue(BigDecimal numericValue,
BigDecimal lowerBound,
BigDecimal upperBound)
Creates a
QuantityValue. |
static QuantityValue |
Datamodel.makeQuantityValue(long numericValue,
long lowerBound,
long upperBound)
Creates a
QuantityValue from long numbers. |
| Modifier and Type | Method and Description |
|---|---|
QuantityValue |
DataModelConverter.convert(QuantityValue object) |
static boolean |
Equality.equalsQuantityValue(QuantityValue o1,
Object o2)
Returns true if the parameters are two
QuantityValue objects with
exactly the same data. |
static int |
Hash.hashCode(QuantityValue o)
Returns a hash code for the given object.
|
static String |
ToString.toString(QuantityValue o)
Returns a human-readable string representation of the given object.
|
Value |
DataModelConverter.visit(QuantityValue value) |
| Modifier and Type | Class and Description |
|---|---|
class |
QuantityValueImpl
Implementation of
QuantityValue. |
| Modifier and Type | Method and Description |
|---|---|
QuantityValue |
DataObjectFactoryImpl.getQuantityValue(BigDecimal numericValue,
BigDecimal lowerBound,
BigDecimal upperBound) |
| Modifier and Type | Method and Description |
|---|---|
QuantityValue |
DataObjectFactory.getQuantityValue(BigDecimal numericValue,
BigDecimal lowerBound,
BigDecimal upperBound)
Creates a
QuantityValue. |
| Modifier and Type | Method and Description |
|---|---|
T |
ValueVisitor.visit(QuantityValue value)
Visits a QuantityValue and returns a result.
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
ValueJsonConverter.visit(QuantityValue value) |
| Modifier and Type | Method and Description |
|---|---|
QuantityValue |
JacksonObjectFactory.getQuantityValue(BigDecimal numericValue,
BigDecimal lowerBound,
BigDecimal upperBound) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonValueQuantity
Jackson implementation of
QuantityValue. |
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage