1 | public class Person {
↵ | | 1 | public class Continent {↵
|
2 | private Long id;
↵ | | 2 | private Integer id;↵
|
3 | private String name;
↵ | | 3 | private String name;↵
|
4 | private BankAccount bankAccount;↵ | | 4 | private ↵
|
|
5 | /**↵ | | |
|
6 | * @return Returns the id.↵ | | |
|
7 | */
↵ | | 5 | Set countries;↵
|
|
8 | public Long getId() {
↵ | | 6 | public Integer getId() {↵
|
9 | return id;
↵ | | 7 | return id;↵
|
10 | }↵ | | 8 | }↵
|
11 | /**↵ | | |
|
12 | * @param id The id to set.↵ | | |
|
13 | */
↵ | | |
|
|
14 | public void setId(Long id) {
↵ | | 9 | public void setId(Integer id) {↵
|
15 | this.id = id;
↵ | | 10 | this.id = id;↵
|
16 | }↵ | | 11 | }↵
|
17 | /**↵ | | |
|
18 | * @return Returns the name.↵ | | |
|
19 | */
↵ | | |
|
|
20 | public String getName() {
↵ | | 12 | public String getName() {↵
|
21 | return name;
↵ | | 13 | return name;↵
|
22 | }↵ | | 14 | }↵
|
23 | /**↵ | | |
|
24 | * @param name The name to set.↵ | | |
|
25 | */
↵ | | |
|
|
26 | public void setName(String name) {
↵ | | 15 | public void setName(String name) {↵
|
27 | this.name = name;
↵ | | 16 | this.name = name;↵
|
28 | }↵ | | 17 | }↵
|
29 |
↵ | | |
|
|
30 | public BankAccount getBankAccount() {
↵ | | 18 | public Set getCountries() {↵
|
31 | return bankAccount;
↵ | | 19 | return countries;↵
|
32 | }
↵ | | 20 | }↵
|
|
33 | public void setBankAccount(BankAccount bankAccount) {
↵ | | 21 | public void setCountries(Set countries) {↵
|
34 | this.bankAccount = bankAccount | | 22 | this.countries = countries
|