org.apache.geronimo.samples.daytrader.ejb
Interface Quote

All Superinterfaces:
EJBObject, Remote

public interface Quote
extends EJBObject, Remote


Method Summary
 void addToVolume(double quantity)
           
 double getChange()
           
 String getCompanyName()
           
 QuoteDataBean getDataBean()
           
 BigDecimal getHigh()
           
 BigDecimal getLow()
           
 BigDecimal getOpen()
           
 BigDecimal getPrice()
           
 String getSymbol()
           
 double getTotalVolume()
           
 double getVolume()
           
 void setCompanyName(String companyName)
           
 void setSymbol(String symbol)
           
 void updatePrice(BigDecimal price)
           
 void updatePrice(double price)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getSymbol

String getSymbol()
                 throws RemoteException
Throws:
RemoteException

setSymbol

void setSymbol(String symbol)
               throws RemoteException
Throws:
RemoteException

getCompanyName

String getCompanyName()
                      throws RemoteException
Throws:
RemoteException

setCompanyName

void setCompanyName(String companyName)
                    throws RemoteException
Throws:
RemoteException

getVolume

double getVolume()
                 throws RemoteException
Throws:
RemoteException

getPrice

BigDecimal getPrice()
                    throws RemoteException
Throws:
RemoteException

getOpen

BigDecimal getOpen()
                   throws RemoteException
Throws:
RemoteException

getLow

BigDecimal getLow()
                  throws RemoteException
Throws:
RemoteException

getHigh

BigDecimal getHigh()
                   throws RemoteException
Throws:
RemoteException

getChange

double getChange()
                 throws RemoteException
Throws:
RemoteException

updatePrice

void updatePrice(BigDecimal price)
                 throws RemoteException
Throws:
RemoteException

updatePrice

void updatePrice(double price)
                 throws RemoteException
Throws:
RemoteException

addToVolume

void addToVolume(double quantity)
                 throws RemoteException
Throws:
RemoteException

getTotalVolume

double getTotalVolume()
                      throws FinderException,
                             RemoteException
Throws:
FinderException
RemoteException

getDataBean

QuoteDataBean getDataBean()
                          throws RemoteException
Throws:
RemoteException


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