1 | public class Transaction {↵ | | 1 | public class ParentInfoAssigned {↵
|
| | | 2 |
↵
|
2 | private Long id;↵ | | 3 | private Long id;
↵
|
3 | private String description;↵ | | 4 | private ↵
|
4 | private MonetoryAmount value;↵ | | |
|
5 | ↵ | | |
|
6 | public String getDescription() {↵ | | |
|
7 | return description;↵ | | |
|
8 | }↵ | | |
|
9 | ↵ | | |
|
10 | public void setDescription(String description↵ | | 5 | ParentAssigned owner;↵
|
| | | 6 | private String info;↵
|
|
| | | 7 | public ParentInfoAssigned() {↵
|
| | | 8 | }↵
|
|
11 | ) {↵ | | 9 | public ParentInfoAssigned(String info) {
↵
|
12 | this.description = description;↵ | | 10 | this.↵
|
13 | }↵ | | |
|
14 | ↵ | | 11 | info = info;↵
|
| | | 12 | }↵
|
| | | 13 |
↵
|
15 | public Long getId() {↵ | | 14 | public Long getId() {
↵
|
16 | return id;↵ | | 15 | return id;
↵
|
17 | }↵ | | 16 | }↵
|
18 | ↵ | | |
|
19 | public void setId(Long id↵ | | |
|
|
| | | 17 | public ParentAssigned getOwner() {↵
|
| | | 18 | return owner;↵
|
| | | 19 | }↵
|
|
20 | ) {↵ | | 20 | public void setOwner(ParentAssigned owner) {
↵
|
21 | this.id = id;↵ | | 21 | this.↵
|
22 | }↵ | | |
|
23 | ↵ | | |
|
24 | public MonetoryAmount getValue↵ | | 22 | owner = owner;↵
|
| | | 23 | }↵
|
|
25 | () {↵ | | 24 | public String getInfo() {
↵
|
26 | return value;↵ | | 25 | return ↵
|
27 | }↵ | | |
|
28 | ↵ | | 26 | info;↵
|
| | | 27 | }↵
|
| | | 28 |
↵
|
29 | public void setValue(MonetoryAmount value) {↵ | | 29 | public void setInfo(String info) {
↵
|
30 | this.value = value | | 30 | this.info = info
|