Package com.walkfares.odsl.conversion
Class Unit
java.lang.Object
com.walkfares.odsl.conversion.Unit
public class Unit extends Object
-
Constructor Summary
Constructors Constructor Description Unit()
-
Method Summary
Modifier and Type Method Description Unit
_clone()
String
getCode()
double
getConversionFactor()
String
getDimension()
Dimension
getDimensionClass()
double
getFactor()
double
getMultiplier()
String
getMultiplierText()
String
getName()
String
getPrefix()
boolean
isAddMetricUnits()
boolean
isMetric()
Unit
setAddMetricUnits(boolean addMetricUnits)
Unit
setCode(String code)
Unit
setConversionFactor(double factor)
Unit
setDimension(String dimension)
Unit
setDimensionClass(Dimension dimensionClass)
Unit
setMetric(boolean metric)
Unit
setMultiplierText(String multiplierText)
Unit
setName(String name)
Unit
setPrefix(String prefix)
String
toString()
-
Constructor Details
-
Unit
public Unit()
-
-
Method Details
-
getDimensionClass
-
setDimensionClass
-
getDimension
-
setDimension
-
getCode
-
setCode
-
getName
-
setName
-
isMetric
public boolean isMetric() -
setMetric
-
isAddMetricUnits
public boolean isAddMetricUnits() -
setAddMetricUnits
-
getFactor
public double getFactor() -
setConversionFactor
-
getConversionFactor
public double getConversionFactor() -
getMultiplierText
-
setMultiplierText
-
getPrefix
-
setPrefix
-
_clone
-
toString
-
getMultiplier
public double getMultiplier()
-