1 | public class Point implements Serializable {↵ | | 1 | public class Employee {↵
|
2 | private BigDecimal x;↵ | | 2 | private ↵
|
3 | private BigDecimal y;↵ | | |
|
4 | private String description;↵ | | |
|
5 | private Object row↵ | | 3 | String name;↵
|
| | | 4 | private Date hireDate;↵
|
| | | 5 | private Map managerBySite = new HashMap();↵
|
6 | ;↵ | | 6 | private Set underlings = new HashSet();↵
|
| | | 7 | ↵
|
7 | Point() {}↵ | | 8 | Employee() {}↵
|
8 | ↵ | | 9 | ↵
|
9 | public Point(BigDecimal x, BigDecimal y) {↵ | | 10 | public ↵
|
10 | this.x = x;↵ | | |
|
11 | this.y = y↵ | | 11 | Employee(String name) {↵
|
12 | ;↵ | | 12 | this.name=name;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public BigDecimal getX() {↵ | | 14 | public Map getManagerBySite() {↵
|
15 | return x;↵ | | 15 | return ↵
|
16 | }↵ | | |
|
|
17 | void setX(BigDecimal x) {↵ | | |
|
18 | this.x = x↵ | | 16 | managerBySite;↵
|
| | | 17 | }↵
|
| | | 18 | public void setManagerBySite(Map managerBySite) {↵
|
19 | ;↵ | | 19 | this.managerBySite = managerBySite;↵
|
20 | }↵ | | 20 | }↵
|
|
21 | public BigDecimal getY() {↵ | | 21 | public String getName() {↵
|
22 | return y;↵ | | 22 | return name;↵
|
23 | }↵ | | 23 | }↵
|
|
24 | void setY(BigDecimal y) {↵ | | |
|
25 | this.y = y↵ | | 24 | public void setName(String name) {↵
|
26 | ;↵ | | 25 | this.name = name;↵
|
27 | }↵ | | 26 | }↵
|
|
28 | public String getDescription() {↵ | | 27 | public Set getUnderlings() {↵
|
29 | return description;↵ | | 28 | return underlings;↵
|
30 | }↵ | | 29 | }↵
|
|
31 | public void setDescription(String description) {↵ | | 30 | public void set↵
|
32 | this.description = description↵ | | 31 | Underlings(Set underlings) {↵
|
33 | ;↵ | | 32 | this.underlings = underlings;↵
|
34 | }↵ | | 33 | }↵
|
|
35 | public Object getRow() {↵ | | 34 | public Date getHireDate() {↵
|
36 | return row;↵ | | 35 | return hireDate;↵
|
37 | }↵ | | 36 | }↵
|
|
38 | public void setRow(Object row) {↵ | | 37 | public void setHireDate(Date hireDate) {↵
|
39 | this.row = row;↵ | | 38 | this.hireDate = hireDate;↵
|
40 | | | 39 |
|