1 | public class Transaction {↵ | | 1 | public class Object2 {↵
|
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String description;↵ | | 3 | private String dummy;↵
|
4 | private MonetoryAmount value;↵ | | 4 | private MainObject belongsToMainObj;↵
|
5 | ↵ | | |
|
6 | public String getDescription() {↵ | | 5 | public Long getId() {↵
|
7 | return description;↵ | | 6 | return id;↵
|
8 | }↵ | | 7 | }↵
|
9 | ↵ | | |
|
10 | public void setDescription(String description) {↵ | | 8 | public void set↵
|
11 | this.description = description↵ | | 9 | Id(Long l) {↵
|
12 | ;↵ | | 10 | this.id = l;↵
|
13 | }↵ | | 11 | }↵
|
14 | ↵ | | 12 | ↵
|
15 | public Long getId() {↵ | | 13 | public String getDummy() {↵
|
16 | return id;↵ | | 14 | return dummy;↵
|
17 | }↵ | | 15 | }↵
|
18 | ↵ | | |
|
19 | public void setId(Long id) {↵ | | 16 | public void set↵
|
20 | this.id = id↵ | | 17 | Dummy(String string) {↵
|
21 | ;↵ | | 18 | dummy = string;↵
|
22 | }↵ | | 19 | }↵
|
23 | ↵ | | |
|
24 | public MonetoryAmount getValue() {↵ | | 20 | public M↵
|
25 | return value↵ | | 21 | ainObject getBelongsToMainObj() {↵
|
26 | ;↵ | | 22 | return belongsToMainObj;↵
|
27 | }↵ | | 23 | }↵
|
28 | ↵ | | |
|
29 | public void setValue(MonetoryAmount value) {↵ | | 24 | public void set↵
|
30 | this.value = value↵ | | 25 | BelongsToMainObj(MainObject object) {↵
|
31 | ;↵ | | 26 | belongsToMainObj = object;↵
|
32 | | | 27 |
|