Package com.walkfares.odsl.conversion
Class UnitFactory
java.lang.Object
com.walkfares.odsl.conversion.UnitFactory
public class UnitFactory extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UnitFactory()
-
Method Summary
Modifier and Type Method Description static void
addMetricUnit(Unit unit)
static void
addUnit(Unit unit)
static List<Dimension>
getAll()
static Unit
getBaseUnit(String code)
static Dimension
getDimension(String name)
static Unit
getUnit(String code)
static List<Unit>
getUnitsForDimension(String name)
-
Field Details
-
Constructor Details
-
UnitFactory
public UnitFactory()
-
-
Method Details