|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.bc.fx.impl.RatesRepositoryFileImpl
public class RatesRepositoryFileImpl
This class accesses the xml file containing the Foreign Exchange conversion rates.
Constructor Summary | |
---|---|
RatesRepositoryFileImpl()
|
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getAllSupportedCurrencies()
Returns all supported currency codes in a Set. |
java.util.Set<java.lang.String> |
getDefinedMonetaryItems()
Returns all defined monetary item types. |
java.math.BigDecimal |
getRate(RatesQueryRequest request,
boolean isBuy)
Returns the foreign exchange rate according to the given parameters. |
java.util.List |
getRatesTable()
Returns ratesTable property of the receiver which contains the data entries. |
void |
setRatesTable(java.util.List<java.util.HashMap> ratesTable)
Sets ratesTable property of the receiver which contains the data entries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RatesRepositoryFileImpl()
Method Detail |
---|
public java.math.BigDecimal getRate(RatesQueryRequest request, boolean isBuy)
RatesRepository
getRate
in interface RatesRepository
request
- the RatesQueryRequest identifying the request dataisBuy
- true if the requested rate is a buy rate, otherwise it should
be false
public void setRatesTable(java.util.List<java.util.HashMap> ratesTable)
ratesTable
- the list containing data entries of ratespublic java.util.List getRatesTable()
public java.util.Set<java.lang.String> getAllSupportedCurrencies()
RatesRepository
getAllSupportedCurrencies
in interface RatesRepository
public java.util.Set<java.lang.String> getDefinedMonetaryItems()
RatesRepository
getDefinedMonetaryItems
in interface RatesRepository
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |