1 | public class MyInterfaceImpl implements MyInterface {
↵ | | 1 | public class Employer implements Serializable {↵
|
2 | private String key1;↵ | | 2 | private ↵
|
3 | private String key2;↵ | | |
|
4 | private String name;↵ | | |
|
5 |
↵ | | 3 | Integer id;↵
|
| | | 4 | private Collection employees;↵
|
| | | 5 | private Integer vers;↵
|
|
6 | public String getKey1() {
↵ | | 6 | public Integer getVers() {↵
|
7 | return key1;↵ | | 7 | return ↵
|
8 | }↵ | | |
|
9 |
↵ | | 8 | vers;↵
|
| | | 9 | }↵
|
|
10 | public void setKey1(String key1) {
↵ | | 10 | public void setVers(Integer vers) {↵
|
11 | this.key1 = key1;↵ | | 11 | this.↵
|
12 | }↵ | | |
|
|
13 | public String getKey2↵ | | 12 | vers = vers;↵
|
| | | 13 | }↵
|
|
|
14 | () {
↵ | | 14 | public Collection getEmployees() {↵
|
15 | return key2;↵ | | 15 | return ↵
|
16 | }↵ | | |
|
|
17 | public void setKey2(String key2↵ | | 16 | employees;↵
|
| | | 17 | }↵
|
| | | 18 | ↵
|
| | | 19 | ↵
|
18 | ) {
↵ | | 20 | public Integer getId() {↵
|
19 | this.key2 = key2;↵ | | 21 | ↵
|
20 | }↵ | | |
|
|
21 | public String getName(↵ | | 22 | return id;↵
|
| | | 23 | }↵
|
| | | 24 | ↵
|
22 | ) {
↵ | | 25 | public void setEmployees(Collection set) {↵
|
23 | return name;↵ | | 26 | ↵
|
24 | }↵ | | |
|
|
25 | public void setName(String name↵ | | 27 | employees = set;↵
|
| | | 28 | }↵
|
|
26 | ) {
↵ | | 29 | public void setId(Integer integer) {↵
|
27 | this.name = name;
↵ | | 30 | id = integer;↵
|
28 | | | 31 |
|