1 | public class Joiner {↵ | | 1 | public class Object2 {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String name;↵ | | 3 | private String dummy;↵
|
4 | private String joinedName;↵ | | 4 | private MainObject belongsToMainObj;↵
|
|
5 | public Long getId() {↵ | | 5 | public Long getId() {↵
|
6 | return id;↵ | | 6 | return id;↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void setId(Long id) {↵ | | 8 | public void setId(Long l) {↵
|
9 | this.id = id;↵ | | 9 | this.id = l;↵
|
10 | }↵ | | 10 | }↵
|
| | | 11 | ↵
|
11 | public String getName() {↵ | | 12 | public String getDummy() {↵
|
12 | return name;↵ | | 13 | return dummy;↵
|
13 | }↵ | | 14 | }↵
|
|
14 | public void setName(String name) {↵ | | 15 | public void setDummy(String ↵
|
15 | this.name = name↵ | | 16 | string) {↵
|
16 | ;↵ | | 17 | dummy = string;↵
|
17 | }↵ | | 18 | }↵
|
|
18 | public String getJoinedName() {↵ | | 19 | public ↵
|
19 | return joinedName;↵ | | |
|
20 | }↵ | | |
|
|
21 | public void setJoinedName(String joinedName) {↵ | | |
|
22 | this.joinedName = joinedName↵ | | 20 | MainObject getBelongsToMainObj() {↵
|
| | | 21 | return belongsToMainObj;↵
|
| | | 22 | }↵
|
|
| | | 23 | public void setBelongsToMainObj(MainObject object) {↵
|
23 | ;↵ | | 24 | belongsToMainObj = object;↵
|
24 | | | 25 |
|