1 | public class ParentInfoAssigned {
↵ | | 1 | public class Being {↵
|
2 | private Long id;
↵ | | 2 | private long id;↵
|
3 | private ParentAssigned owner;↵ | | 3 | private ↵
|
4 | private String info;↵ | | |
|
|
5 | public ParentInfoAssigned() {↵ | | |
|
6 | }↵ | | |
|
|
7 | public ParentInfoAssigned(String info↵ | | 4 | String identity;↵
|
| | | 5 | private String location;↵
|
| | | 6 | private String species;↵
|
| | | 7 | ↵
|
8 | ) {
↵ | | 8 | public void setLocation(String location) {↵
|
9 | this.info = info;↵ | | 9 | this.↵
|
10 | }↵ | | |
|
11 |
↵ | | 10 | location = location;↵
|
| | | 11 | }↵
|
12 | public Long getId() {
↵ | | 12 | public String getLocation() {↵
|
13 | return id;↵ | | 13 | return ↵
|
14 | }↵ | | |
|
|
15 | public ParentAssigned getOwner() {↵ | | |
|
16 | return owner;↵ | | |
|
17 | }↵ | | |
|
|
18 | public void setOwner(ParentAssigned owner↵ | | 14 | location;↵
|
| | | 15 | }↵
|
19 | ) {
↵ | | 16 | public void setSpecies(String species) {↵
|
20 | this.owner = owner;↵ | | 17 | this.↵
|
21 | }↵ | | |
|
22 |
↵ | | 18 | species = species;↵
|
| | | 19 | }↵
|
23 | public String getInfo() {
↵ | | 20 | public String getSpecies() {↵
|
24 | return info;↵ | | 21 | return ↵
|
25 | }↵ | | |
|
26 |
↵ | | 22 | species;↵
|
| | | 23 | }↵
|
27 | public void setInfo(String info) {
↵ | | 24 | public void setIdentity(String identity) {↵
|
28 | this.info = info | | 25 | this.identity = identity;↵
|
| | | 26 | }↵
|
| | | 27 | public String getIdentity() {↵
|
| | | 28 | return identity
|