1 | public class Account implements Serializable {↵ | | 1 | public class ChildInfo {
↵
|
2 | private String accountId;↵ | | 2 | private Long id;
↵
|
3 | private Person user;↵ | | 3 | private Child owner;
↵
|
4 | private char type;↵ | | 4 | private ↵
|
5 | /**↵ | | |
|
6 | * @return Returns the user.↵ | | |
|
7 | */↵ | | |
|
8 | public Person getUser() {↵ | | |
|
9 | return user;↵ | | |
|
10 | }↵ | | |
|
11 | /**↵ | | |
|
12 | * @param user The user to set.↵ | | |
|
13 | */↵ | | |
|
14 | public void setUser(Person user↵ | | 5 | String info;↵
|
|
| | | 6 | public ChildInfo() {↵
|
| | | 7 | }↵
|
|
15 | ) {↵ | | 8 | public ChildInfo(String info) {
↵
|
16 | this.user = user;↵ | | 9 | this.↵
|
17 | }↵ | | |
|
18 | /**↵ | | |
|
19 | * @return Returns the accountId.↵ | | |
|
20 | */↵ | | |
|
21 | public String getAccountId↵ | | 10 | info = info;↵
|
| | | 11 | }↵
|
|
| | | 12 | public Long getId() {↵
|
| | | 13 | return id;↵
|
| | | 14 | }↵
|
|
22 | () {↵ | | 15 | public Child getOwner() {
↵
|
23 | return accountId;↵ | | 16 | return ↵
|
24 | }↵ | | |
|
25 | /**↵ | | |
|
26 | * @param accountId The accountId to set.↵ | | |
|
27 | */↵ | | |
|
28 | public void setAccountId(String accountId↵ | | 17 | owner;↵
|
| | | 18 | }↵
|
|
29 | ) {↵ | | 19 | public void setOwner(Child owner) {
↵
|
30 | this.accountId = accountId;↵ | | 20 | this.↵
|
31 | }↵ | | |
|
32 | /**↵ | | |
|
33 | * @return Returns the type.↵ | | |
|
34 | */↵ | | |
|
35 | public char getType↵ | | 21 | owner = owner;↵
|
| | | 22 | }↵
|
|
36 | () {↵ | | 23 | public String getInfo() {
↵
|
37 | return type;↵ | | 24 | return ↵
|
38 | }↵ | | |
|
39 | /**↵ | | |
|
40 | * @param type The type to set.↵ | | |
|
41 | */↵ | | 25 | info;↵
|
| | | 26 | }↵
|
| | | 27 |
↵
|
42 | public void setType(char type) {↵ | | 28 | public void setInfo(String info) {
↵
|
43 | this.type = type | | 29 | this.info = info
|