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

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface LocalQuote
extends javax.ejb.EJBLocalObject


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.util.Collection getOrders()
           
 java.math.BigDecimal getPrice()
           
 java.lang.String getSymbol()
           
 double getTotalVolume()
           
 double getVolume()
           
 void setCompanyName(java.lang.String companyName)
           
 void setOrders(java.util.Collection orders)
           
 void setSymbol(java.lang.String symbol)
           
 java.lang.String toString()
           
 void updatePrice(java.math.BigDecimal price)
           
 void updatePrice(double price)
           
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getSymbol

public java.lang.String getSymbol()

setSymbol

public void setSymbol(java.lang.String symbol)

getCompanyName

public java.lang.String getCompanyName()

setCompanyName

public void setCompanyName(java.lang.String companyName)

getVolume

public double getVolume()

getPrice

public java.math.BigDecimal getPrice()

getOpen

public java.math.BigDecimal getOpen()

getLow

public java.math.BigDecimal getLow()

getHigh

public java.math.BigDecimal getHigh()

getChange

public double getChange()

getOrders

public java.util.Collection getOrders()

setOrders

public void setOrders(java.util.Collection orders)

updatePrice

public void updatePrice(java.math.BigDecimal price)

updatePrice

public void updatePrice(double price)

addToVolume

public void addToVolume(double quantity)

getTotalVolume

public double getTotalVolume()
                      throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getDataBean

public QuoteDataBean getDataBean()

toString

public java.lang.String toString()


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