com.parsec.ejbs.deal
Class DealEJB
java.lang.Object
|
+--com.parsec.ejbs.deal.DealEJB
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class DealEJB
- extends java.lang.Object
- implements javax.ejb.EntityBean
- See Also:
- Serialized Form
|
Method Summary |
void |
ejbActivate()
|
DealPrimaryKey |
ejbCreate(java.lang.String buyerId,
java.lang.String sellerId,
java.lang.String shareId,
java.util.Date dealTime,
int noOfShares,
float price)
|
java.util.Collection |
ejbFindByBuyerId(java.lang.String buyerId)
|
DealPrimaryKey |
ejbFindByPrimaryKey(DealPrimaryKey primaryKey)
|
java.util.Collection |
ejbFindBySellerId(java.lang.String sellerId)
|
void |
ejbLoad()
|
void |
ejbPassivate()
|
void |
ejbPostCreate(java.lang.String buyerId,
java.lang.String sellerId,
java.lang.String shareId,
java.util.Date dealTime,
int noOfShares,
float price)
|
void |
ejbRemove()
|
void |
ejbStore()
|
java.lang.String |
getBuyerId()
|
java.util.Date |
getDealTime()
|
int |
getNoOfShares()
|
float |
getPrice()
|
java.lang.String |
getSellerId()
|
java.lang.String |
getShareId()
|
void |
setBuyerId(java.lang.String a)
|
void |
setDealTime(java.util.Date a)
|
void |
setEntityContext(javax.ejb.EntityContext context)
|
void |
setNoOfShares(int a)
|
void |
setPrice(float a)
|
void |
setSellerId(java.lang.String a)
|
void |
setShareId(java.lang.String a)
|
void |
unsetEntityContext()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DealEJB
public DealEJB()
getBuyerId
public java.lang.String getBuyerId()
getSellerId
public java.lang.String getSellerId()
getShareId
public java.lang.String getShareId()
getDealTime
public java.util.Date getDealTime()
getNoOfShares
public int getNoOfShares()
getPrice
public float getPrice()
setBuyerId
public void setBuyerId(java.lang.String a)
setSellerId
public void setSellerId(java.lang.String a)
setShareId
public void setShareId(java.lang.String a)
setDealTime
public void setDealTime(java.util.Date a)
setNoOfShares
public void setNoOfShares(int a)
setPrice
public void setPrice(float a)
ejbCreate
public DealPrimaryKey ejbCreate(java.lang.String buyerId,
java.lang.String sellerId,
java.lang.String shareId,
java.util.Date dealTime,
int noOfShares,
float price)
throws javax.ejb.CreateException
ejbFindByPrimaryKey
public DealPrimaryKey ejbFindByPrimaryKey(DealPrimaryKey primaryKey)
throws javax.ejb.FinderException
ejbFindByBuyerId
public java.util.Collection ejbFindByBuyerId(java.lang.String buyerId)
throws javax.ejb.FinderException
ejbFindBySellerId
public java.util.Collection ejbFindBySellerId(java.lang.String sellerId)
throws javax.ejb.FinderException
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove in interface javax.ejb.EntityBean
setEntityContext
public void setEntityContext(javax.ejb.EntityContext context)
- Specified by:
setEntityContext in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate 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
ejbPostCreate
public void ejbPostCreate(java.lang.String buyerId,
java.lang.String sellerId,
java.lang.String shareId,
java.util.Date dealTime,
int noOfShares,
float price)