1 | public class Point implements Serializable {↵ | | 1 | public class ↵
|
2 | private BigDecimal x;↵ | | |
|
3 | private BigDecimal y;↵ | | |
|
4 | private String description;↵ | | |
|
5 | private Object row;↵ | | |
|
|
6 | Point() {}↵ | | |
|
7 | ↵ | | |
|
8 | public Point(BigDecimal x, BigDecimal y) {↵ | | |
|
9 | this.x = x;↵ | | |
|
10 | this.y = y;↵ | | |
|
11 | }↵ | | |
|
|
12 | public BigDecimal getX() {↵ | | |
|
13 | return x;↵ | | |
|
14 | }↵ | | |
|
|
15 | void setX(BigDecimal x↵ | | 2 | Site {↵
|
| | | 3 | private String name;↵
|
| | | 4 | private String description;↵
|
| | | 5 | private Set employees = new HashSet();↵
|
| | | 6 | private Set managers = new HashSet();↵
|
|
| | | 7 | Site() {}↵
|
16 | ) {↵ | | 8 | public Site(String name) {↵
|
17 | this.x = x;↵ | | 9 | this.name=name;↵
|
18 | }↵ | | 10 | }↵
|
|
19 | public BigDecimal getY() {↵ | | 11 | public Set getManagers() {↵
|
20 | return y;↵ | | 12 | return ↵
|
21 | }↵ | | |
|
|
22 | void setY(BigDecimal y) {↵ | | |
|
23 | this.y = y↵ | | 13 | managers;↵
|
| | | 14 | }↵
|
| | | 15 | public void setManagers(Set managers) {↵
|
24 | ;↵ | | 16 | this.managers = managers;↵
|
25 | }↵ | | 17 | }↵
|
|
26 | public String getDescription() {↵ | | 18 | public String getDescription() {↵
|
27 | return description;↵ | | 19 | return description;↵
|
28 | }↵ | | 20 | }↵
|
|
29 | public void setDescription(String description) {↵ | | 21 | public void setDescription(String description) {↵
|
30 | this.description = description;↵ | | 22 | this.description = description;↵
|
31 | }↵ | | 23 | }↵
|
|
32 | public Object getRow() {↵ | | 24 | public Set getEmployees() {↵
|
33 | return row;↵ | | 25 | return employees;↵
|
34 | }↵ | | 26 | }↵
|
|
35 | public void setRow(Object row) {↵ | | 27 | public void set↵
|
36 | this.row = row↵ | | 28 | Employees(Set employees) {↵
|
| | | 29 | this.employees = employees;↵
|
| | | 30 | }↵
|
| | | 31 | public String getName() {↵
|
| | | 32 | return name;↵
|
| | | 33 | }↵
|
| | | 34 | public void setName(String name) {↵
|
37 | ;↵ | | 35 | this.name = name;↵
|
38 | | | 36 |
|