1 | public class Person {↵ | | 1 | public class Speech {↵
|
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 | Double length;↵
|
|
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 Double getLength() {↵
|
21 | return name;↵ | | 13 | return length;↵
|
22 | }↵ | | 14 | }↵
|
23 | /**↵ | | |
|
24 | * @param name The name to set.↵ | | |
|
25 | */↵ | | |
|
26 | public void setName(String name) {↵ | | |
|
27 | this.name = name↵ | | |
|
| | | 15 | public void setLength(Double length) {↵
|
28 | ;↵ | | 16 | this.length = length;↵
|
29 | }↵ | | 17 | }↵
|
|
30 | public BankAccount getBankAccount() {↵ | | 18 | public String getName() {↵
|
31 | return bankAccount;↵ | | 19 | return name;↵
|
32 | }↵ | | 20 | }↵
|
|
33 | public void setBankAccount(BankAccount bankAccount) {↵ | | 21 | public void setName(String name) {↵
|
34 | this.bankAccount = bankAccount | | 22 | this.name = name
|