KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > auction > AuctionInfo


1 //$Id: AuctionInfo.java,v 1.1 2004/06/03 16:30:01 steveebersole Exp $
2
package org.hibernate.auction;
3
4 import java.util.Date JavaDoc;
5
6 /**
7  * @author Gavin King
8  */

9 public class AuctionInfo {
10     private long id;
11     private String JavaDoc description;
12     private Date JavaDoc ends;
13     private Float JavaDoc maxAmount;
14     public String JavaDoc getDescription() {
15         return description;
16     }
17
18     public Date JavaDoc getEnds() {
19         return ends;
20     }
21
22     public long getId() {
23         return id;
24     }
25
26     public Float JavaDoc getMaxAmount() {
27         return maxAmount;
28     }
29     
30     public AuctionInfo(long id, String JavaDoc description, Date JavaDoc ends, Float JavaDoc maxAmount) {
31         this.id = id;
32         this.description = description;
33         this.ends = ends;
34         this.maxAmount = maxAmount;
35     }
36
37 }
38
Popular Tags