org.ota.shared
Class ExchangeRateGroup

java.lang.Object
  extended by org.ota.shared.ExchangeRateGroup

public class ExchangeRateGroup
extends java.lang.Object

Used to specify the rate for exchanging from one currency to another currency. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ExchangeRateGroup">
   <xs:attribute type="xs:string" use="optional" name="FromCurrency"/>
   <xs:attribute type="xs:string" use="optional" name="ToCurrency"/>
   <xs:attribute type="xs:float" use="optional" name="Rate"/>
   <xs:attribute type="xs:date" use="optional" name="Date"/>
 </xs:attributeGroup>
 


Constructor Summary
ExchangeRateGroup()
           
 
Method Summary
 java.sql.Date getDate()
          Get the 'Date' attribute value.
 java.lang.String getFromCurrency()
          Get the 'FromCurrency' attribute value.
 java.lang.Float getRate()
          Get the 'Rate' attribute value.
 java.lang.String getToCurrency()
          Get the 'ToCurrency' attribute value.
 void setDate(java.sql.Date date)
          Set the 'Date' attribute value.
 void setFromCurrency(java.lang.String fromCurrency)
          Set the 'FromCurrency' attribute value.
 void setRate(java.lang.Float rate)
          Set the 'Rate' attribute value.
 void setToCurrency(java.lang.String toCurrency)
          Set the 'ToCurrency' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExchangeRateGroup

public ExchangeRateGroup()
Method Detail

getFromCurrency

public java.lang.String getFromCurrency()
Get the 'FromCurrency' attribute value. The source currency for a conversion.

Returns:
value

setFromCurrency

public void setFromCurrency(java.lang.String fromCurrency)
Set the 'FromCurrency' attribute value. The source currency for a conversion.

Parameters:
fromCurrency -

getToCurrency

public java.lang.String getToCurrency()
Get the 'ToCurrency' attribute value. The target currency for the conversion.

Returns:
value

setToCurrency

public void setToCurrency(java.lang.String toCurrency)
Set the 'ToCurrency' attribute value. The target currency for the conversion.

Parameters:
toCurrency -

getRate

public java.lang.Float getRate()
Get the 'Rate' attribute value. The rate used for conversion from the source currency to the target currency.

Returns:
value

setRate

public void setRate(java.lang.Float rate)
Set the 'Rate' attribute value. The rate used for conversion from the source currency to the target currency.

Parameters:
rate -

getDate

public java.sql.Date getDate()
Get the 'Date' attribute value. The date of the conversion rate.

Returns:
value

setDate

public void setDate(java.sql.Date date)
Set the 'Date' attribute value. The date of the conversion rate.

Parameters:
date -