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