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