Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/hibernate/test/pagination/DataPoint.java


1   //$Id: DataPoint.java 7867 2005-08-11 23:35:33Z oneovthafew $
2   package org.hibernate.test.pagination;
3   
4   import java.math.BigDecimal;
5   
6   /**
7    * @author Gavin King
8    */
9   public class DataPoint {
10    private long id;
11    private BigDecimal x;
12    private BigDecimal y;
13    private String description;
14    /**
15     * @return Returns the description.
16     */
17    public String getDescription() {
18      return description;
19    }
20    /**
21     * @param description The description to set.
22     */
23    public void setDescription(String 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 getX() {
42      return x;
43    }
44    /**
45     * @param x The x to set.
46     */
47    public void setX(BigDecimal x) {
48      this.x = x;
49    }
50    /**
51     * @return Returns the y.
52     */
53    public BigDecimal getY() {
54      return y;
55    }
56    /**
57     * @param y The y to set.
58     */
59    public void setY(BigDecimal y) {
60      this.y = y;
61    }
62  }