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