public interface QuantityValue extends Value
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getLowerBound()
Returns the upper bound for the numeric value of this quantity.
|
BigDecimal |
getNumericValue()
Returns the main numeric value of this quantity.
|
String |
getUnit()
Returns the unit of this quantity, or the string "1" if there is no
unit.
|
ItemIdValue |
getUnitItemId() |
BigDecimal |
getUpperBound()
Returns the upper bound for the numeric value of this quantity.
|
BigDecimal getNumericValue()
BigDecimal getLowerBound()
BigDecimal getUpperBound()
String getUnit()
ItemIdValue getUnitItemId()
IllegalArgumentException
- if the unit is not "1" (no unit) or a valid item IRICopyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage