FileDocCategorySizeDatePackage
Bid.javaAPI DocHibernate 3.2.5877Mon May 16 00:46:48 BST 2005org.hibernate.test.joinfetch

Bid

public class Bid extends Object
author
Gavin King

Fields Summary
private float
amount
private Item
item
private Calendar
timestamp
private Long
id
Constructors Summary
Bid()

public Bid(Item item, float amount)

		this.amount = amount;
		this.item = item;
		item.getBids().add(this);
		this.timestamp = Calendar.getInstance();
	
Methods Summary
public floatgetAmount()

		return amount;
	
public java.lang.LonggetId()

		return id;
	
public ItemgetItem()

		return item;
	
public java.util.CalendargetTimestamp()

		return timestamp;
	
public voidsetAmount(float amount)

		this.amount = amount;
	
public voidsetId(java.lang.Long id)

		this.id = id;
	
public voidsetItem(Item item)

		this.item = item;
	
public voidsetTimestamp(java.util.Calendar timestamp)

		this.timestamp = timestamp;