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