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

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface Quote
extends javax.ejb.EJBObject, java.rmi.Remote


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

Method Detail

getSymbol

public java.lang.String getSymbol()
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setSymbol

public void setSymbol(java.lang.String symbol)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCompanyName

public java.lang.String getCompanyName()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setCompanyName

public void setCompanyName(java.lang.String companyName)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getVolume

public double getVolume()
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPrice

public java.math.BigDecimal getPrice()
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getOpen

public java.math.BigDecimal getOpen()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getLow

public java.math.BigDecimal getLow()
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getHigh

public java.math.BigDecimal getHigh()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getChange

public double getChange()
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updatePrice

public void updatePrice(java.math.BigDecimal price)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updatePrice

public void updatePrice(double price)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addToVolume

public void addToVolume(double quantity)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTotalVolume

public double getTotalVolume()
                      throws javax.ejb.FinderException,
                             java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

getDataBean

public QuoteDataBean getDataBean()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


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