1 | public class Thing {↵ | | 1 | public class Alien {↵
|
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) {↵ | | |
|
14 | this.salesperson = salesperson;↵ | | |
|
15 | }↵ | | |
|
16 | /**↵ | | |
|
17 | * @return Returns the comments.↵ | | |
|
18 | */↵ | | 3 | Long id;↵
|
| | | 4 | private String identity;↵
|
| | | 5 | private String planet;↵
|
| | | 6 | private String species;↵
|
| | | 7 | ↵
|
| | | 8 | public void setIdentity(String identity) {↵
|
| | | 9 | this.identity = identity;↵
|
| | | 10 | }↵
|
| | | 11 | public String getIdentity() {↵
|
| | | 12 | return identity;↵
|
| | | 13 | }↵
|
| | | 14 | public void setSpecies(String species) {↵
|
| | | 15 | this.species = species;↵
|
| | | 16 | }↵
|
19 | public String getComments() {↵ | | 17 | public String getSpecies() {↵
|
20 | return comments;↵ | | 18 | return ↵
|
21 | }↵ | | |
|
22 | /**↵ | | |
|
23 | * @param comments The comments to set.↵ | | |
|
24 | */↵ | | 19 | species;↵
|
| | | 20 | }↵
|
25 | public void setComments(String comments) {↵ | | 21 | public void set↵
|
26 | this.comments = comments;↵ | | |
|
27 | }↵ | | |
|
|
28 | Long id;↵ | | |
|
29 | String name;↵ | | |
|
|
30 | /**↵ | | |
|
31 | * @return Returns the ID.↵ | | |
|
32 | */↵ | | |
|
33 | public Long getId() {↵ | | |
|
34 | return id;↵ | | |
|
35 | }↵ | | |
|
36 | /**↵ | | |
|
37 | * @param id The ID to s↵ | | 22 | Planet(String planet) {↵
|
| | | 23 | this.planet = planet;↵
|
| | | 24 | }↵
|
| | | 25 | public String getPlanet() {↵
|
38 | et.↵ | | 26 | return planet;↵
|
39 | */↵ | | 27 | }↵
|
40 | public void setId(Long id) {↵ | | 28 | public void setId(Long id) {↵
|
41 | this.id = id;↵ | | 29 | this.id = id;↵
|
42 | }↵ | | 30 | }↵
|
43 | /**↵ | | 31 | ↵
|
44 | * @return Returns the name.↵ | | |
|
45 | */↵ | | |
|
46 | public String getName() {↵ | | 32 | public Long getId() {↵
|
47 | return name;↵ | | 33 | return ↵
|
48 | }↵ | | |
|
49 | /**↵ | | |
|
50 | * @param name The name to set.↵ | | |
|
51 | */↵ | | |
|
52 | public void setName(String name) {↵ | | |
|
53 | this.name = name | | 34 | id
|