1 | public class MyInterfaceImpl implements MyInterface {
↵ | | 1 | public class Account implements Serializable {↵
|
2 | private String key1;↵ | | 2 | private String ↵
|
3 | private String key2;↵ | | |
|
4 | private String name;↵ | | |
|
5 |
↵ | | 3 | accountId;↵
|
| | | 4 | private Person user;↵
|
| | | 5 | private char type;↵
|
| | | 6 | /**↵
|
| | | 7 | * @return Returns the user.↵
|
| | | 8 | */↵
|
6 | public String getKey1() {
↵ | | 9 | public Person getUser() {↵
|
7 | return key1;↵ | | 10 | return ↵
|
8 | }↵ | | |
|
9 |
↵ | | 11 | user;↵
|
| | | 12 | }↵
|
| | | 13 | /**↵
|
| | | 14 | * @param user The user to set.↵
|
| | | 15 | */↵
|
10 | public void setKey1(String key1) {
↵ | | 16 | public void setUser(Person user) {↵
|
11 | this.key1 = key1;↵ | | 17 | this.↵
|
12 | }↵ | | |
|
13 |
↵ | | 18 | user = user;↵
|
| | | 19 | }↵
|
| | | 20 | /**↵
|
| | | 21 | * @return Returns the accountId.↵
|
| | | 22 | */↵
|
14 | public String getKey2() {
↵ | | 23 | public String getAccountId() {↵
|
15 | return key2;↵ | | 24 | return ↵
|
16 | }↵ | | |
|
|
17 | public void setKey2(String key2↵ | | 25 | accountId;↵
|
| | | 26 | }↵
|
| | | 27 | /**↵
|
| | | 28 | * @param accountId The accountId to set.↵
|
| | | 29 | */↵
|
18 | ) {
↵ | | 30 | public void setAccountId(String accountId) {↵
|
19 | this.key2 = key2;↵ | | 31 | this.↵
|
20 | }↵ | | |
|
21 |
↵ | | 32 | accountId = accountId;↵
|
| | | 33 | }↵
|
| | | 34 | /**↵
|
| | | 35 | * @return Returns the type.↵
|
| | | 36 | */↵
|
22 | public String getName() {
↵ | | 37 | public char getType() {↵
|
23 | return name;
↵ | | 38 | return type;↵
|
24 | }↵ | | 39 | }↵
|
25 |
↵ | | |
|
| | | 40 | /**↵
|
| | | 41 | * @param type The type to set.↵
|
| | | 42 | */↵
|
26 | public void setName(String name) {
↵ | | 43 | public void setType(char type) {↵
|
27 | this.name = name;
↵ | | 44 | this.type = type;↵
|
28 | | | 45 |
|