KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > proxy > DataPoint


1 //$Id: DataPoint.java,v 1.3 2005/02/12 07:27:30 steveebersole Exp $
2
package org.hibernate.test.proxy;
3
4 import java.io.Serializable JavaDoc;
5 import java.math.BigDecimal JavaDoc;
6
7 /**
8  * @author Gavin King
9  */

10 public class DataPoint implements Serializable JavaDoc {
11     private long id;
12     private BigDecimal JavaDoc x;
13     private BigDecimal JavaDoc y;
14     private String JavaDoc description;
15     /**
16      * @return Returns the description.
17      */

18     public String JavaDoc getDescription() {
19         return description;
20     }
21     /**
22      * @param description The description to set.
23      */

24     public void setDescription(String JavaDoc description) {
25         this.description = description;
26     }
27     /**
28      * @return Returns the id.
29      */

30     public long getId() {
31         return id;
32     }
33     /**
34      * @param id The id to set.
35      */

36     public void setId(long id) {
37         this.id = id;
38     }
39     /**
40      * @return Returns the x.
41      */

42     public BigDecimal JavaDoc getX() {
43         return x;
44     }
45     /**
46      * @param x The x to set.
47      */

48     public void setX(BigDecimal JavaDoc x) {
49         this.x = x;
50     }
51     /**
52      * @return Returns the y.
53      */

54     public BigDecimal JavaDoc getY() {
55         return y;
56     }
57     /**
58      * @param y The y to set.
59      */

60     public void setY(BigDecimal JavaDoc y) {
61         this.y = y;
62     }
63 }
64
Popular Tags