org.apache.geronimo.samples.bank.ejb
Class ExchangeRate

java.lang.Object
  extended by org.apache.geronimo.samples.bank.ejb.ExchangeRate
All Implemented Interfaces:
Serializable

public class ExchangeRate
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ExchangeRate()
           
ExchangeRate(String rateId, String currency, double rate)
           
 
Method Summary
 String getCurrency()
           
 double getRate()
           
 String getRateId()
           
 void setCurrency(String currency)
           
 void setRate(double rate)
           
 void setRateId(String rateId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExchangeRate

public ExchangeRate()

ExchangeRate

public ExchangeRate(String rateId,
                    String currency,
                    double rate)
Method Detail

getRateId

public String getRateId()

setRateId

public void setRateId(String rateId)

getCurrency

public String getCurrency()

setCurrency

public void setCurrency(String currency)

getRate

public double getRate()

setRate

public void setRate(double rate)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.