1 | public class Parent {↵ | | 1 | public class Transaction {↵
|
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private Set deleteOrphanChildren;↵ | | 3 | private S↵
|
4 | private Set children↵ | | 4 | tring description;↵
|
5 | ;↵ | | 5 | private MonetoryAmount value;↵
|
| | | 6 | ↵
|
6 | public Long getId() {↵ | | 7 | public String getDescription() {↵
|
7 | return id;↵ | | 8 | return description;↵
|
8 | }↵ | | 9 | }↵
|
| | | 10 | ↵
|
9 | public void setId(Long id) {↵ | | 11 | public void set↵
|
10 | this.id = id↵ | | 12 | Description(String description) {↵
|
11 | ;↵ | | 13 | this.description = description;↵
|
12 | }↵ | | 14 | }↵
|
| | | 15 | ↵
|
13 | public Set getDeleteOrphanChildren() {↵ | | 16 | public ↵
|
14 | return deleteOrphanChildren↵ | | 17 | Long getId() {↵
|
15 | ;↵ | | 18 | return id;↵
|
16 | }↵ | | 19 | }↵
|
| | | 20 | ↵
|
17 | public void setDeleteOrphanChildren(Set deleteOrphanChildren) {↵ | | 21 | public void set↵
|
18 | this.deleteOrphanChildren = deleteOrphanChildren↵ | | 22 | Id(Long id) {↵
|
19 | ;↵ | | 23 | this.id = id;↵
|
20 | }↵ | | 24 | }↵
|
| | | 25 | ↵
|
21 | public Set getChildren() {↵ | | 26 | public MonetoryAmount getValue() {↵
|
22 | return children;↵ | | 27 | return value;↵
|
23 | }↵ | | 28 | }↵
|
| | | 29 | ↵
|
24 | public void setChildren(Set children) {↵ | | 30 | public void set↵
|
25 | this.children = children↵ | | 31 | Value(MonetoryAmount value) {↵
|
26 | ;↵ | | 32 | this.value = value;↵
|
27 | | | 33 |
|