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