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