1 | public class Account {
↵ | | 1 | public class Version {↵
|
|
2 | private String accountId;
↵ | | 2 | long id;↵
|
3 | private Person user;↵ | | 3 | ↵
|
4 | private char type;
↵ | | 4 | String name;↵
|
5 | /**↵ | | 5 | ↵
|
6 | * @return Returns the user.↵ | | |
|
7 | */
↵ | | 6 | String description;↵
|
| | | 7 | ↵
|
8 | public Person getUser() {
↵ | | 8 | public long getId() {↵
|
9 | return user;↵ | | 9 | return ↵
|
10 | }↵ | | |
|
11 | /**↵ | | |
|
12 | * @param user The user to set.↵ | | |
|
13 | */
↵ | | 10 | id;↵
|
| | | 11 | }↵
|
14 | public void setUser(Person user) {
↵ | | 12 | public void setId(long id) {↵
|
15 | this.user = user;↵ | | 13 | this.↵
|
16 | }↵ | | |
|
17 | /**↵ | | |
|
18 | * @return Returns the accountId.↵ | | |
|
19 | */
↵ | | 14 | id = id;↵
|
| | | 15 | }↵
|
20 | public String getAccountId() {
↵ | | 16 | public String getName() {↵
|
21 | return accountId;
↵ | | 17 | return name;↵
|
22 | }
↵ | | 18 | }↵
|
23 | /**↵ | | 19 | ↵
|
24 | * @param accountId The accountId to set.↵ | | |
|
25 | */
↵ | | |
|
26 | public void setAccountId(String accountId) {
↵ | | 20 | public void setName(String name) {↵
|
27 | this.accountId = accountId;
↵ | | 21 | this.name = name;↵
|
28 | }
↵ | | 22 | }↵
|
29 | /**↵ | | 23 | ↵
|
30 | * @return Returns the type.↵ | | |
|
31 | */↵ | | |
|
32 | public char getType↵ | | |
|
33 | () {
↵ | | 24 | public String getDescription() {↵
|
34 | return type;
↵ | | 25 | return description;↵
|
35 | }
↵ | | 26 | }↵
|
36 | /**↵ | | 27 | ↵
|
37 | * @param type The type to set.↵ | | |
|
38 | */↵ | | |
|
39 | public void setType(char type↵ | | |
|
40 | ) {
↵ | | 28 | public void setDescription(String description) {↵
|
41 | this.type = type;
↵ | | 29 | this.description = description;↵
|
42 | | | 30 |
|