|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the Local Interface for the Bid Bean
Method Summary | |
float |
getBid()
Get the bid of the user. |
java.lang.String |
getBidderNickName()
Give the nick name of the bidder. |
java.lang.String |
getDate()
Time of the Bid in the format 'YYYY-MM-DD hh:mm:ss' |
java.lang.Integer |
getId()
Get bid's id. |
java.lang.Integer |
getItemId()
Get the item id which is the primary key in the items table. |
float |
getMaxBid()
Get the maximum bid wanted by the user. |
int |
getQuantity()
Get how many of this item the user wants. |
java.lang.Integer |
getUserId()
Get the user id which is the primary key in the users table. |
java.lang.String |
printBidHistory()
Display bid history information as an HTML table row |
void |
setBid(float newBid)
Set a new bid on the item for the user |
void |
setDate(java.lang.String newDate)
Set a new date for this bid |
void |
setItemId(java.lang.Integer id)
Set a new item identifier. |
void |
setMaxBid(float newBid)
Set a new maximum bid on the item for the user |
void |
setQuantity(int Qty)
Set a new quantity for this bid |
void |
setUserId(java.lang.Integer id)
Set a new user identifier. |
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.lang.Integer getId()
public java.lang.Integer getUserId()
public java.lang.Integer getItemId()
public int getQuantity()
public float getBid()
public float getMaxBid()
public java.lang.String getDate()
public java.lang.String getBidderNickName()
public void setUserId(java.lang.Integer id)
id
- user idpublic void setItemId(java.lang.Integer id)
id
- item idpublic void setQuantity(int Qty)
Qty
- quantitypublic void setBid(float newBid)
newBid
- bid pricepublic void setMaxBid(float newBid)
newBid
- maximum bid pricepublic void setDate(java.lang.String newDate)
newDate
- bid datepublic java.lang.String printBidHistory()
String
containing HTML code
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |