|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the Remote Interface for the BuyNow Bean
Method Summary | |
java.lang.Integer |
getBuyerId()
Get the buyer id which is the primary key in the users table. |
java.lang.String |
getDate()
Time of the BuyNow in the format 'YYYY-MM-DD hh:mm:ss' |
java.lang.Integer |
getId()
Get BuyNow id. |
java.lang.Integer |
getItemId()
Get the item id which is the primary key in the items table. |
int |
getQuantity()
Get how many of this item the buyer has bought. |
void |
setBuyerId(java.lang.Integer id)
Set a new buyer identifier. |
void |
setDate(java.lang.String newDate)
Set a new date for this buy |
void |
setItemId(java.lang.Integer id)
Set a new item identifier. |
void |
setQuantity(int Qty)
Set a new quantity for this buy |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.lang.Integer getId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.Integer getBuyerId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.Integer getItemId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic int getQuantity() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getDate() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic void setBuyerId(java.lang.Integer id) throws java.rmi.RemoteException
id
- buyer idjava.rmi.RemoteException
- if an error occurspublic void setItemId(java.lang.Integer id) throws java.rmi.RemoteException
id
- item idjava.rmi.RemoteException
- if an error occurspublic void setQuantity(int Qty) throws java.rmi.RemoteException
Qty
- quantityjava.rmi.RemoteException
- if an error occurspublic void setDate(java.lang.String newDate) throws java.rmi.RemoteException
newDate
- bid datejava.rmi.RemoteException
- if an error occurs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |