1 | public class DataPoint {↵ | | 1 | public class DataPoint {↵
|
2 | private long id;↵ | | 2 | private long id;↵
|
3 | private BigDecimal x;↵ | | 3 | private BigDecimal x;↵
|
4 | private BigDecimal y;↵ | | 4 | private BigDecimal y;↵
|
5 | private String description;↵ | | 5 | private String description;↵
|
6 | /**↵ | | 6 | /**↵
|
7 | * @return Returns the description.↵ | | 7 | * @return Returns the description.↵
|
8 | */↵ | | 8 | */↵
|
9 | public String getDescription() {↵ | | 9 | public String getDescription() {↵
|
10 | return description;↵ | | 10 | return description;↵
|
11 | }↵ | | 11 | }↵
|
12 | /**↵ | | 12 | /**↵
|
13 | * @param description The description to set.↵ | | 13 | * @param description The description to set.↵
|
14 | */↵ | | 14 | */↵
|
15 | public void setDescription(String description) {↵ | | 15 | public void setDescription(String description) {↵
|
16 | this.description = description;↵ | | 16 | this.description = description;↵
|
17 | }↵ | | 17 | }↵
|
18 | /**↵ | | 18 | /**↵
|
19 | * @return Returns the id.↵ | | 19 | * @return Returns the id.↵
|
20 | */↵ | | 20 | */↵
|
21 | public long getId() {↵ | | 21 | public long getId() {↵
|
22 | return id;↵ | | 22 | return id;↵
|
23 | }↵ | | 23 | }↵
|
24 | /**↵ | | 24 | /**↵
|
25 | * @param id The id to set.↵ | | 25 | * @param id The id to set.↵
|
26 | */↵ | | 26 | */↵
|
27 | public void setId(long id) {↵ | | 27 | public void setId(long id) {↵
|
28 | this.id = id;↵ | | 28 | this.id = id;↵
|
29 | }↵ | | 29 | }↵
|
30 | /**↵ | | 30 | /**↵
|
31 | * @return Returns the x.↵ | | 31 | * @return Returns the x.↵
|
32 | */↵ | | 32 | */↵
|
33 | public BigDecimal getX() {↵ | | 33 | public BigDecimal getX() {↵
|
34 | return x;↵ | | 34 | return x;↵
|
35 | }↵ | | 35 | }↵
|
36 | /**↵ | | 36 | /**↵
|
37 | * @param x The x to set.↵ | | 37 | * @param x The x to set.↵
|
38 | */↵ | | 38 | */↵
|
39 | public void setX(BigDecimal x) {↵ | | 39 | public void setX(BigDecimal x) {↵
|
40 | this.x = x;↵ | | 40 | this.x = x;↵
|
41 | }↵ | | 41 | }↵
|
42 | /**↵ | | 42 | /**↵
|
43 | * @return Returns the y.↵ | | 43 | * @return Returns the y.↵
|
44 | */↵ | | 44 | */↵
|
45 | public BigDecimal getY() {↵ | | 45 | public BigDecimal getY() {↵
|
46 | return y;↵ | | 46 | return y;↵
|
47 | }↵ | | 47 | }↵
|
48 | /**↵ | | 48 | /**↵
|
49 | * @param y The y to set.↵ | | 49 | * @param y The y to set.↵
|
50 | */↵ | | 50 | */↵
|
51 | public void setY(BigDecimal y) {↵ | | 51 | public void setY(BigDecimal y) {↵
|
52 | this.y = y;↵ | | 52 | this.y = y;↵
|
53 | | | 53 |
|