1 | public class Item {↵ | | 1 | public class ↵
|
2 | ↵ | | 2 | Being {↵
|
3 | private Long id;↵ | | 3 | private long id;↵
|
4 | private String name;↵ | | 4 | private String ↵
|
5 | ↵ | | 5 | identity;↵
|
6 | private String description;↵ | | 6 | private String ↵
|
|
7 | public String getDescription() {↵ | | |
|
8 | return description;↵ | | |
|
9 | }↵ | | |
|
|
10 | ↵ | | 7 | location;↵
|
| | | 8 | private String species;↵
|
| | | 9 | ↵
|
11 | public void setDescription(String description) {↵ | | 10 | public void setLocation(String location) {↵
|
12 | this.description = description;↵ | | |
|
13 | }↵ | | |
|
|
14 | ↵ | | 11 | this.location = location;↵
|
| | | 12 | }↵
|
15 | public Long getId() {↵ | | 13 | public String get↵
|
16 | return id;↵ | | |
|
17 | }↵ | | |
|
|
18 | public void setId(Long id) {↵ | | |
|
19 | this.id = id;↵ | | |
|
20 | }↵ | | |
|
|
21 | public String getName() {↵ | | |
|
22 | return name;↵ | | |
|
23 | }↵ | | |
|
|
24 | ↵ | | 14 | Location() {↵
|
| | | 15 | return location;↵
|
| | | 16 | }↵
|
| | | 17 | public void setSpecies(String species) {↵
|
| | | 18 | this.species = species;↵
|
| | | 19 | }↵
|
| | | 20 | public String getSpecies() {↵
|
| | | 21 | return species;↵
|
| | | 22 | }↵
|
25 | public void setName(String name) {↵ | | 23 | public void set↵
|
26 | this.name = name | | 24 | Identity(String identity) {↵
|
| | | 25 | this.identity = identity;↵
|
| | | 26 | }↵
|
| | | 27 | public String getIdentity() {↵
|
| | | 28 | return identity
|