org.apache.geronimo.samples.daytrader.ejb
Class QuoteBean
java.lang.Object
org.apache.geronimo.samples.daytrader.ejb.QuoteBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public abstract class QuoteBean
- extends java.lang.Object
- implements javax.ejb.EntityBean
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QuoteBean
public QuoteBean()
getSymbol
public abstract java.lang.String getSymbol()
setSymbol
public abstract void setSymbol(java.lang.String symbol)
getCompanyName
public abstract java.lang.String getCompanyName()
setCompanyName
public abstract void setCompanyName(java.lang.String companyName)
getVolume
public abstract double getVolume()
setVolume
public abstract void setVolume(double volume)
getPrice
public abstract java.math.BigDecimal getPrice()
setPrice
public abstract void setPrice(java.math.BigDecimal price)
getOpen
public abstract java.math.BigDecimal getOpen()
setOpen
public abstract void setOpen(java.math.BigDecimal price)
getLow
public abstract java.math.BigDecimal getLow()
setLow
public abstract void setLow(java.math.BigDecimal price)
getHigh
public abstract java.math.BigDecimal getHigh()
setHigh
public abstract void setHigh(java.math.BigDecimal price)
getChange
public abstract double getChange()
setChange
public abstract void setChange(double change)
getOrders
public abstract java.util.Collection getOrders()
setOrders
public abstract void setOrders(java.util.Collection orders)
ejbSelectTotalVolume
public abstract java.util.Collection ejbSelectTotalVolume()
throws javax.ejb.FinderException
- Throws:
javax.ejb.FinderException
updatePrice
public void updatePrice(java.math.BigDecimal current)
updatePrice
public void updatePrice(double current)
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()
ejbCreate
public java.lang.String ejbCreate(java.lang.String symbol,
java.lang.String companyName,
java.math.BigDecimal price)
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
ejbPostCreate
public void ejbPostCreate(java.lang.String symbol,
java.lang.String companyName,
java.math.BigDecimal price)
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
setEntityContext
public void setEntityContext(javax.ejb.EntityContext ctx)
- Specified by:
setEntityContext
in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext
in interface javax.ejb.EntityBean
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.EntityBean
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad
in interface javax.ejb.EntityBean
ejbStore
public void ejbStore()
- Specified by:
ejbStore
in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.EntityBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.EntityBean
Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.