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