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, saveMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
initialisein interfaceOpenDSLService
-
getCode
- Specified by:
getCodein interfaceCurrencyProvider
-
getValue
public double getValue(OpenDSLContext context, String dataset, String base, String ccy, String profile, UTCDate index)- Specified by:
getValuein interfaceCurrencyProvider
-
getName
- Specified by:
getNamein interfaceCurrencyProvider- Specified by:
getNamein interfaceOpenDSLService
-