1 | public class MyInterfaceImpl implements MyInterface {
↵ | | 1 | public class Being {↵
|
2 | private String key1;
↵ | | 2 | private long id;↵
|
3 | private String key2;
↵ | | 3 | private String identity;↵
|
4 | private String name;↵ | | 4 | private String ↵
|
|
5 | public String getKey1() {↵ | | |
|
6 | return key1;↵ | | |
|
7 | }↵ | | |
|
|
8 | public void setKey1(String key1↵ | | 5 | location;↵
|
| | | 6 | private String species;↵
|
| | | 7 | ↵
|
9 | ) {
↵ | | 8 | public void setLocation(String location) {↵
|
10 | this.key1 = key1;↵ | | 9 | this.↵
|
11 | }↵ | | |
|
12 |
↵ | | 10 | location = location;↵
|
| | | 11 | }↵
|
13 | public String getKey2() {
↵ | | 12 | public String getLocation() {↵
|
14 | return key2;↵ | | 13 | return ↵
|
15 | }↵ | | |
|
16 |
↵ | | 14 | location;↵
|
| | | 15 | }↵
|
17 | public void setKey2(String key2) {
↵ | | 16 | public void setSpecies(String species) {↵
|
18 | this.key2 = key2;↵ | | 17 | this.↵
|
19 | }↵ | | |
|
20 |
↵ | | 18 | species = species;↵
|
| | | 19 | }↵
|
21 | public String getName() {
↵ | | 20 | public String getSpecies() {↵
|
22 | return name;↵ | | 21 | return ↵
|
23 | }↵ | | |
|
24 |
↵ | | 22 | species;↵
|
| | | 23 | }↵
|
25 | public void setName(String name) {
↵ | | 24 | public void setIdentity(String identity) {↵
|
26 | this.name = name | | 25 | this.identity = identity;↵
|
| | | 26 | }↵
|
| | | 27 | public String getIdentity() {↵
|
| | | 28 | return identity
|