KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: DataPoint.java,v 1.1 2005/06/19 22:04:00 oneovthafew Exp $
2
package org.hibernate.test.readonly;
3
4 import java.math.BigDecimal JavaDoc;
5
6 /**
7  * @author Gavin King
8  */

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

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

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

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

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

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

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

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

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