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