1 | public class Transaction {↵ | | 1 | public class Speech {↵
|
| | | 2 |
↵
|
2 | private Long id;↵ | | 3 | private Integer id;
↵
|
3 | private String description;↵ | | 4 | private String ↵
|
4 | private MonetoryAmount value;↵ | | |
|
5 | ↵ | | |
|
6 | public String getDescription↵ | | 5 | name;↵
|
| | | 6 | private Double length;↵
|
|
7 | () {↵ | | 7 | public Integer getId() {
↵
|
8 | return description;↵ | | 8 | return ↵
|
9 | }↵ | | |
|
10 | ↵ | | |
|
11 | public void setDescription(String description↵ | | 9 | id;↵
|
| | | 10 | }↵
|
|
12 | ) {↵ | | 11 | public void setId(Integer id) {
↵
|
13 | this.description = description;↵ | | 12 | this.↵
|
14 | }↵ | | |
|
15 | ↵ | | |
|
16 | public Long getId↵ | | 13 | id = id;↵
|
| | | 14 | }↵
|
|
17 | () {↵ | | 15 | public Double getLength() {
↵
|
18 | return id;↵ | | 16 | return ↵
|
19 | }↵ | | |
|
20 | ↵ | | 17 | length;↵
|
| | | 18 | }↵
|
| | | 19 |
↵
|
21 | public void setId(Long id) {↵ | | 20 | public void setLength(Double length) {
↵
|
22 | this.id = id;↵ | | 21 | this.↵
|
23 | }↵ | | |
|
24 | ↵ | | |
|
25 | public MonetoryAmount getValu↵ | | 22 | length = length;↵
|
| | | 23 | }↵
|
|
26 | e() {↵ | | 24 | public String getName() {
↵
|
27 | return value;↵ | | 25 | return name;
↵
|
28 | }↵ | | 26 | }↵
|
29 | ↵ | | |
|
| | | 27 |
↵
|
30 | public void setValue(MonetoryAmount value) {↵ | | 28 | public void setName(String name) {
↵
|
31 | this.value = value | | 29 | this.name = name
|