1 | public class Customer extends Person {↵ | | 1 | static public class ↵
|
2 | private Employee salesperson;↵ | | |
|
3 | private String comments;↵ | | |
|
|
4 | /**↵ | | |
|
5 | * @return Returns the salesperson.↵ | | |
|
6 | */↵ | | |
|
7 | public Employee getSalesperson↵ | | 2 | ABean {↵
|
| | | 3 | public Fum fum;↵
|
| | | 4 | public Fum fo;↵
|
8 | () {↵ | | 5 | public Fum getFo() {↵
|
9 | return salesperson;↵ | | 6 | return fo;↵
|
10 | }↵ | | 7 | }↵
|
11 | /**↵ | | 8 | ↵
|
12 | * @param salesperson The salesperson to set.↵ | | |
|
13 | */↵ | | |
|
14 | public void setSalesperson(Employee salesperson) {↵ | | 9 | public void setFo(Fum fo) {↵
|
15 | this.salesperson = salesperson;↵ | | 10 | this.↵
|
16 | }↵ | | |
|
17 | /**↵ | | |
|
18 | * @return Returns the comments.↵ | | |
|
19 | */↵ | | |
|
| | | 11 | fo = fo;↵
|
| | | 12 | }↵
|
20 | public String getComments() {↵ | | 13 | public Fum getFum() {↵
|
21 | return comments;↵ | | 14 | return ↵
|
22 | }↵ | | |
|
23 | /**↵ | | |
|
24 | * @param comments The comments to set.↵ | | |
|
25 | */↵ | | |
|
26 | public void setComments(String comments↵ | | 15 | fum;↵
|
| | | 16 | }↵
|
27 | ) {↵ | | 17 | public void setFum(Fum fum) {↵
|
28 | this.comments = comments | | 18 | this.fum = fum
|