Package de.latlon.ets.wms13.core.uom
Interface UomMatcher
- All Known Implementing Classes:
UomMatcherFromFile
public interface UomMatcher
Contains useful methods regarding supported Unit of Measures.
- Author:
- Lyn Goltz
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisExpectedUoM(String uom) Checks if the passed UoM is one of the expected UoM (a base unit from http://unitsofmeasure.org/ucum.html#section-Base-Units (Base Units, 4.2) or a MeTOC Unit.
-
Method Details
-
isExpectedUoM
Checks if the passed UoM is one of the expected UoM (a base unit from http://unitsofmeasure.org/ucum.html#section-Base-Units (Base Units, 4.2) or a MeTOC Unit. The check is case-sensitive!- Parameters:
uom- the unit to check, may benull- Returns:
trueif the uom is one of the expected, otherwisefalse
-