1 | public class Employee implements Serializable {↵ | | 1 | public class Customer extends Person {↵
|
2 | private Integer id;↵ | | 2 | private ↵
|
3 | private Collection employers;↵ | | |
|
|
|
4 | public Integer getId() {↵ | | |
|
5 | return id;↵ | | |
|
6 | }↵ | | |
|
|
7 | public void setId(Integer integer) {↵ | | |
|
8 | id = integer;↵ | | |
|
9 | }↵ | | |
|
10 | ↵ | | |
|
11 | ↵ | | |
|
12 | public Collection getEmployers() {↵ | | |
|
13 | return employers;↵ | | |
|
14 | }↵ | | |
|
15 | ↵ | | |
|
16 | public void setEmployers(Collection employers) {↵ | | |
|
17 | this.employers = employer↵ | | 3 | Employee salesperson;↵
|
| | | 4 | private String comments;↵
|
|
| | | 5 | /**↵
|
| | | 6 | * @return Returns the salesperson.↵
|
| | | 7 | */↵
|
| | | 8 | public Employee getSalesperson() {↵
|
| | | 9 | return salesperson;↵
|
| | | 10 | }↵
|
| | | 11 | /**↵
|
| | | 12 | * @param salesperson The salesperson to set.↵
|
| | | 13 | */↵
|
| | | 14 | public void setSalesperson(Employee salesperson) {↵
|
| | | 15 | this.salesperson = salesperson;↵
|
| | | 16 | }↵
|
| | | 17 | /**↵
|
| | | 18 | * @return Returns the comments.↵
|
| | | 19 | */↵
|
| | | 20 | public String getComments() {↵
|
| | | 21 | return comments;↵
|
| | | 22 | }↵
|
| | | 23 | /**↵
|
| | | 24 | * @param comments The comments to set.↵
|
| | | 25 | */↵
|
| | | 26 | public void setComments(String comments) {↵
|
18 | s | | 27 | this.comments = comments
|