FileDocCategorySizeDatePackage
Bid.javaAPI DocHibernate 3.2.5846Thu Jun 03 11:31:32 BST 2004org.hibernate.auction

Bid

public class Bid extends Persistent
author
Gavin King

Fields Summary
private AuctionItem
item
private float
amount
private Date
datetime
private User
bidder
Constructors Summary
Methods Summary
public floatgetAmount()

		return amount;
	
public UsergetBidder()

		return bidder;
	
public java.util.DategetDatetime()

		return datetime;
	
public AuctionItemgetItem()

		return item;
	
public booleanisBuyNow()

		return false;
	
public voidsetAmount(float f)

		amount = f;
	
public voidsetBidder(User user)

		bidder = user;
	
public voidsetDatetime(java.util.Date date)

		datetime = date;
	
public voidsetItem(AuctionItem item)

		this.item = item;
	
public java.lang.StringtoString()

		return bidder.getUserName() + " $" + amount;