1 | public class Item {↵ | | 1 | public class Object2 {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String name;↵ | | 3 | private String dummy;↵
|
4 | private String description;↵ | | 4 | private MainObject belongsToMainObj;↵
|
5 | ↵ | | |
|
6 | public String getDescription() {↵ | | 5 | public Long getId() {↵
|
7 | return description;↵ | | 6 | return id;↵
|
8 | }↵ | | 7 | }↵
|
|
9 | public void setDescription(String description) {↵ | | 8 | public void set↵
|
10 | this.description = description↵ | | 9 | Id(Long l) {↵
|
11 | ;↵ | | 10 | this.id = l;↵
|
12 | }↵ | | 11 | }↵
|
13 | ↵ | | 12 | ↵
|
14 | public Long getId() {↵ | | 13 | public String getDummy() {↵
|
15 | return id;↵ | | 14 | return dummy;↵
|
16 | }↵ | | 15 | }↵
|
|
17 | public void setId(Long id) {↵ | | 16 | public void set↵
|
18 | this.id = id↵ | | 17 | Dummy(String string) {↵
|
19 | ;↵ | | 18 | dummy = string;↵
|
20 | }↵ | | 19 | }↵
|
|
21 | public String getName() {↵ | | 20 | public ↵
|
22 | return name↵ | | 21 | MainObject getBelongsToMainObj() {↵
|
23 | ;↵ | | 22 | return belongsToMainObj;↵
|
24 | }↵ | | 23 | }↵
|
|
25 | public void setName(String name) {↵ | | 24 | public void set↵
|
26 | this.name = name | | 25 | BelongsToMainObj(MainObject object) {↵
|
| | | 26 | belongsToMainObj = object
|