1 | public class MyInterfaceImpl implements MyInterface {
↵ | | 1 | public class Transaction {↵
|
|
2 | private String key1;
↵ | | 2 | private Long id;↵
|
3 | private String key2;↵ | | 3 | private String ↵
|
4 | private String name;↵ | | |
|
5 |
↵ | | 4 | description;↵
|
| | | 5 | private MonetoryAmount value;↵
|
| | | 6 | ↵
|
6 | public String getKey1() {
↵ | | 7 | public String getDescription() {↵
|
7 | return key1;↵ | | 8 | return ↵
|
8 | }↵ | | |
|
9 |
↵ | | 9 | description;↵
|
| | | 10 | }↵
|
| | | 11 | ↵
|
10 | public void setKey1(String key1) {
↵ | | 12 | public void setDescription(String description) {↵
|
11 | this.key1 = key1;↵ | | 13 | this.↵
|
12 | }↵ | | |
|
13 |
↵ | | 14 | description = description;↵
|
| | | 15 | }↵
|
| | | 16 | ↵
|
14 | public String getKey2() {
↵ | | 17 | public Long getId() {↵
|
15 | return key2;↵ | | 18 | return ↵
|
16 | }↵ | | |
|
17 |
↵ | | 19 | id;↵
|
| | | 20 | }↵
|
| | | 21 | ↵
|
18 | public void setKey2(String key2) {
↵ | | 22 | public void setId(Long id) {↵
|
19 | this.key2 = key2;↵ | | 23 | this.↵
|
20 | }↵ | | |
|
|
21 | public String getNam↵ | | 24 | id = id;↵
|
| | | 25 | }↵
|
| | | 26 | ↵
|
22 | e() {
↵ | | 27 | public MonetoryAmount getValue() {↵
|
23 | return name;
↵ | | 28 | return value;↵
|
24 | }↵ | | 29 | }↵
|
25 |
↵ | | |
|
| | | 30 | ↵
|
26 | public void setName(String name) {
↵ | | 31 | public void setValue(MonetoryAmount value) {↵
|
27 | this.name = name;
↵ | | 32 | this.value = value;↵
|
28 | | | 33 |
|