KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > bidi > Auction


1 //$Id: Auction.java,v 1.1 2005/02/14 15:56:06 oneovthafew Exp $
2
package org.hibernate.test.bidi;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.Date JavaDoc;
6 import java.util.List JavaDoc;
7
8 /**
9  * @author Gavin King
10  */

11 public class Auction {
12     private Long JavaDoc id;
13     private String JavaDoc description;
14     private List JavaDoc bids = new ArrayList JavaDoc();
15     private Bid successfulBid;
16     private Date JavaDoc end;
17     
18     public Date JavaDoc getEnd() {
19         return end;
20     }
21     public void setEnd(Date JavaDoc end) {
22         this.end = end;
23     }
24     public List JavaDoc getBids() {
25         return bids;
26     }
27     public void setBids(List JavaDoc bids) {
28         this.bids = bids;
29     }
30     public String JavaDoc getDescription() {
31         return description;
32     }
33     public void setDescription(String JavaDoc description) {
34         this.description = description;
35     }
36     public Long JavaDoc getId() {
37         return id;
38     }
39     public void setId(Long JavaDoc id) {
40         this.id = id;
41     }
42     public Bid getSuccessfulBid() {
43         return successfulBid;
44     }
45     public void setSuccessfulBid(Bid successfulBid) {
46         this.successfulBid = successfulBid;
47     }
48 }
49
Popular Tags