Package com.walkfares.odsl.conversion
Class ConversionOptions
java.lang.Object
com.walkfares.odsl.conversion.ConversionOptions
public class ConversionOptions extends Object
All the options for converting data
-
Constructor Summary
Constructors Constructor Description ConversionOptions()
-
Method Summary
Modifier and Type Method Description void
addOptions(DynamicVar output)
double
getConversionFactor()
String
getCurrency()
String
getCurrencyProviderCode()
double
getDensity()
double
getTimefactor()
String
getTimezone()
String
getToUnit()
String
getUnits()
ConversionOptions
setConversionFactor(double conversionFactor)
ConversionOptions
setCurrency(String currency)
ConversionOptions
setCurrencyProviderCode(String currencyProviderCode)
ConversionOptions
setDensity(double density)
ConversionOptions
setTimefactor(double timefactor)
ConversionOptions
setTimezone(String timezone)
ConversionOptions
setToUnit(String toUnit)
ConversionOptions
setUnits(String units)
-
Constructor Details
-
ConversionOptions
public ConversionOptions()
-
-
Method Details
-
getDensity
public double getDensity() -
setDensity
-
getTimefactor
public double getTimefactor() -
setTimefactor
-
getCurrencyProviderCode
-
setCurrencyProviderCode
-
getCurrency
-
setCurrency
-
getTimezone
-
setTimezone
-
getUnits
-
setUnits
-
getToUnit
-
setToUnit
-
getConversionFactor
public double getConversionFactor() -
setConversionFactor
-
addOptions
-