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