1 | public class Transaction {↵ | | 1 | public class Child {↵
|
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String description;↵ | | 3 | private String ↵
|
4 | private MonetoryAmount value;↵ | | |
|
5 | ↵ | | 4 | name;↵
|
| | | 5 | private Parent parent;↵
|
| | | 6 | /**↵
|
| | | 7 | * @return Returns the id.↵
|
| | | 8 | */↵
|
6 | public String getDescription() {↵ | | 9 | public Long getId() {↵
|
7 | return description;↵ | | 10 | return ↵
|
8 | }↵ | | |
|
9 | ↵ | | |
|
10 | public void setDescription(String description) {↵ | | |
|
11 | this.description = description;↵ | | |
|
12 | }↵ | | |
|
13 | ↵ | | 11 | id;↵
|
| | | 12 | }↵
|
| | | 13 | /**↵
|
| | | 14 | * @param id The id to set.↵
|
| | | 15 | */↵
|
| | | 16 | public void setId(Long id) {↵
|
| | | 17 | this.id = id;↵
|
| | | 18 | }↵
|
| | | 19 | /**↵
|
| | | 20 | * @return Returns the name.↵
|
| | | 21 | */↵
|
14 | public Long getId() {↵ | | 22 | public String getName() {↵
|
15 | return id;↵ | | 23 | return name;↵
|
16 | }↵ | | 24 | }↵
|
17 | ↵ | | 25 | /**↵
|
| | | 26 | * @param name The name to set.↵
|
| | | 27 | */↵
|
18 | public void setId(Long id) {↵ | | 28 | public void set↵
|
19 | this.id = id;↵ | | |
|
20 | }↵ | | |
|
21 | ↵ | | |
|
22 | public MonetoryAmount getValue() {↵ | | |
|
23 | return value;↵ | | |
|
24 | }↵ | | |
|
25 | ↵ | | |
|
26 | public void setValue(MonetoryAmount value↵ | | 29 | Name(String name) {↵
|
| | | 30 | this.name = name;↵
|
| | | 31 | }↵
|
| | | 32 | /**↵
|
| | | 33 | * @return Returns the parent.↵
|
| | | 34 | */↵
|
| | | 35 | public Parent getParent() {↵
|
| | | 36 | return parent;↵
|
| | | 37 | }↵
|
| | | 38 | /**↵
|
| | | 39 | * @param parent The parent to set.↵
|
| | | 40 | */↵
|
27 | ) {↵ | | 41 | public void setParent(Parent parent) {↵
|
28 | this.value = value;↵ | | 42 | this.parent = parent;↵
|
29 | | | 43 |
|