1 | public class Customer extends Person {↵ | | 1 | public class OtherAssigned {
↵
|
2 | private Employee salesperson;↵ | | 2 | private ↵
|
3 | private String comments;↵ | | |
|
|
4 | /**↵ | | |
|
5 | * @return Returns the salesperson.↵ | | |
|
6 | */↵ | | |
|
7 | public Employee getSalesperson() {↵ | | |
|
8 | return salesperson;↵ | | |
|
9 | }↵ | | |
|
10 | /**↵ | | |
|
11 | * @param salesperson The salesperson to set.↵ | | |
|
12 | */↵ | | |
|
13 | public void setSalesperson(Employee salesperson↵ | | 3 | Long id;↵
|
| | | 4 | private ParentAssigned owner;↵
|
|
| | | 5 | public OtherAssigned() {↵
|
| | | 6 | }↵
|
|
14 | ) {↵ | | 7 | public OtherAssigned(Long id) {
↵
|
15 | this.salesperson = salesperson;↵ | | 8 | this.↵
|
16 | }↵ | | |
|
17 | /**↵ | | |
|
18 | * @return Returns the comments.↵ | | |
|
19 | */↵ | | |
|
20 | public String getComments↵ | | 9 | id = id;↵
|
| | | 10 | }↵
|
|
| | | 11 | public Long getId() {↵
|
| | | 12 | return id;↵
|
| | | 13 | }↵
|
|
21 | () {↵ | | 14 | public ParentAssigned getOwner() {
↵
|
22 | return comments;↵ | | 15 | return ↵
|
23 | }↵ | | |
|
24 | /**↵ | | |
|
25 | * @param comments The comments to set.↵ | | |
|
26 | */↵ | | 16 | owner;↵
|
| | | 17 | }↵
|
| | | 18 |
↵
|
27 | public void setComments(String comments) {↵ | | 19 | public void setOwner(ParentAssigned owner) {
↵
|
28 | this.comments = comments;↵ | | 20 | this.owner = owner;
↵
|
29 | | | 21 |
|