1 | public class Object2 {↵ | | 1 | public class Employer implements Serializable {↵
|
2 | private Long id;↵ | | 2 | private Integer id;↵
|
3 | private String dummy;↵ | | 3 | private ↵
|
4 | private MainObject belongsToMainObj;↵ | | |
|
|
5 | public Long getId↵ | | 4 | Collection employees;↵
|
| | | 5 | private Integer vers;↵
|
|
6 | () {↵ | | 6 | public Integer getVers() {↵
|
7 | return id;↵ | | 7 | return vers;↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void setId(Long l) {↵ | | 9 | public void set↵
|
10 | this.id = l↵ | | 10 | Vers(Integer vers) {↵
|
11 | ;↵ | | 11 | this.vers = vers;↵
|
12 | }↵ | | 12 | }↵
|
13 | ↵ | | |
|
|
14 | public String getDummy() {↵ | | 13 | public Collection getEmployees() {↵
|
15 | return dummy;↵ | | 14 | return employees;↵
|
16 | }↵ | | 15 | }↵
|
| | | 16 | ↵
|
| | | 17 | ↵
|
17 | public void setDummy(String string) {↵ | | 18 | public ↵
|
18 | dummy = string↵ | | 19 | Integer getId() {↵
|
19 | ;↵ | | 20 | return id;↵
|
20 | }↵ | | 21 | }↵
|
| | | 22 | ↵
|
21 | public MainObject getBelongsToMainObj() {↵ | | 23 | public ↵
|
22 | return belongsToMainObj;↵ | | |
|
23 | }↵ | | |
|
|
24 | public void setBelongsToMainObj(MainObject object) {↵ | | |
|
25 | belongsToMainObj = object↵ | | 24 | void setEmployees(Collection set) {↵
|
| | | 25 | employees = set;↵
|
| | | 26 | }↵
|
|
| | | 27 | public void setId(Integer integer) {↵
|
26 | ;↵ | | 28 | id = integer;↵
|
27 | | | 29 |
|