|
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.RatesQueryRequest
public class RatesQueryRequest
This class represents a request for a conversion rate.
Constructor Summary | |
---|---|
RatesQueryRequest()
This constructor creates a RatesQueryRequest object. |
|
RatesQueryRequest(RatesQueryRequest request)
Creates an object that is a clone of the given RatesQueryRequest. |
|
RatesQueryRequest(java.lang.String fromCurrency,
java.lang.String toCurrency,
java.lang.String fromMonetaryItem,
java.lang.String toMonetaryItem)
This constructor creates a RatesQueryRequest object that identifies the source and destination currencies, and what types of monetary items are involved in the foreign exchange conversion. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object anObject)
Determines if the specified object is the same as the current RatesQueryRequest. |
java.lang.String |
getFromCurrency()
Returns the source currency of the conversion. |
java.lang.String |
getFromMonetaryItem()
Returns the destination currency of the conversion. |
java.lang.String |
getToCurrency()
Returns the destination currency of the conversion. |
java.lang.String |
getToMonetaryItem()
Returns the type of monetary item used to contain the results of the conversion. |
int |
hashCode()
|
void |
setFromCurrency(java.lang.String fromCurrency)
Sets the source currency of the conversion. |
void |
setFromMonetaryItem(java.lang.String fromMonetaryItem)
Returns the type of monetary item being converted. |
void |
setToCurrency(java.lang.String toCurrency)
Sets the destination currency of the conversion. |
void |
setToMonetaryItem(java.lang.String toMonetaryItem)
Sets the type of monetary item used to contain the results of the conversion. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RatesQueryRequest()
public RatesQueryRequest(RatesQueryRequest request)
request
- the existing RatesQueryRequest instancepublic RatesQueryRequest(java.lang.String fromCurrency, java.lang.String toCurrency, java.lang.String fromMonetaryItem, java.lang.String toMonetaryItem)
fromCurrency
- the String character code for the source currencytoCurrency
- the String character code for the destination currencyfromMonetaryItem
- the type of monetary item of the source currencytoMonetaryItem
- the type of monetary item of the destination currencyMethod Detail |
---|
public java.lang.String getFromCurrency()
public void setFromCurrency(java.lang.String fromCurrency)
fromCurrency
- the code for the currencypublic java.lang.String getFromMonetaryItem()
public void setFromMonetaryItem(java.lang.String fromMonetaryItem)
fromMonetaryItem
- the code for the monetary itempublic java.lang.String getToCurrency()
public void setToCurrency(java.lang.String toCurrency)
toCurrency
- the code for the currencypublic java.lang.String getToMonetaryItem()
public void setToMonetaryItem(java.lang.String toMonetaryItem)
toMonetaryItem
- the code for the monetary itempublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object anObject)
equals
in class java.lang.Object
anObject
- the object to check
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |