Package com.walkfares.odsl.service
Class CurrencyService
java.lang.Object
com.walkfares.odsl.service.RemoteODSLService
com.walkfares.odsl.service.CurrencyService
- All Implemented Interfaces:
CurrencyProvider
,OpenDSLService
public class CurrencyService extends RemoteODSLService implements CurrencyProvider
-
Field Summary
Fields inherited from interface com.walkfares.odsl.service.OpenDSLService
ACCESSKEY, BASE64_REQUEST_BODY, COLUMN_COUNT, DATA_POS, HEADER_POS, OUTPUT, REQUEST_BODY, ROW_COUNT, SECRETKEY, SELECTOR, SEPARATOR, TABLE, XSLT
-
Constructor Summary
Constructors Constructor Description CurrencyService()
-
Method Summary
Methods inherited from class com.walkfares.odsl.service.RemoteODSLService
delete, get, getGetQueryParams, getList, rename, save
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.walkfares.odsl.service.OpenDSLService
get, getIDSource, getListSource, isLocalOnly, run, tag
-
Constructor Details
-
CurrencyService
public CurrencyService()
-
-
Method Details
-
initialise
public void initialise()- Specified by:
initialise
in interfaceOpenDSLService
-
getCode
- Specified by:
getCode
in interfaceCurrencyProvider
-
getValue
public double getValue(OpenDSLContext context, String dataset, String base, String ccy, String profile, UTCDate index)- Specified by:
getValue
in interfaceCurrencyProvider
-
getName
- Specified by:
getName
in interfaceCurrencyProvider
- Specified by:
getName
in interfaceOpenDSLService
-