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 ↵
|
10 | }↵ | | |
|
11 | /**↵ | | |
|
12 | * @param salesperson The salesperson to set.↵ | | |
|
13 | */↵ | | |
|
14 | public void setSalesperson(Employee salesperson↵ | | 7 | fo;↵
|
| | | 8 | }↵
|
15 | ) {↵ | | 9 | public void setFo(Fum fo) {↵
|
16 | this.salesperson = salesperson;↵ | | 10 | this.↵
|
17 | }↵ | | |
|
18 | /**↵ | | |
|
19 | * @return Returns the comments.↵ | | |
|
20 | */↵ | | |
|
| | | 11 | fo = fo;↵
|
| | | 12 | }↵
|
21 | public String getComments() {↵ | | 13 | public Fum getFum() {↵
|
22 | return comments;↵ | | 14 | return ↵
|
23 | }↵ | | |
|
24 | /**↵ | | |
|
25 | * @param comments The comments to set.↵ | | |
|
26 | */↵ | | |
|
27 | public void setComments(String comments↵ | | 15 | fum;↵
|
| | | 16 | }↵
|
28 | ) {↵ | | 17 | public void setFum(Fum fum) {↵
|
29 | this.comments = comments;↵ | | 18 | this.fum = fum;↵
|
30 | | | 19 |
|