1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.submitted.column_prefix;
17
18 public class Address {
19 private Integer id;
20
21 private String state;
22
23 private String city;
24
25 private Phone phone1;
26
27 private Phone phone2;
28
29 private boolean hasPhone;
30
31 private String stateBird;
32
33 private Zip zip;
34
35 public Address(Integer id, String state) {
36 super();
37 this.id = id;
38 this.state = state;
39 }
40
41 public Integer getId() {
42 return id;
43 }
44
45 public void setId(Integer id) {
46 this.id = id;
47 }
48
49 public String getState() {
50 return state;
51 }
52
53 public void setState(String state) {
54 this.state = state;
55 }
56
57 public String getCity() {
58 return city;
59 }
60
61 public void setCity(String city) {
62 this.city = city;
63 }
64
65 public Phone getPhone1() {
66 return phone1;
67 }
68
69 public void setPhone1(Phone phone1) {
70 this.phone1 = phone1;
71 }
72
73 public Phone getPhone2() {
74 return phone2;
75 }
76
77 public void setPhone2(Phone phone2) {
78 this.phone2 = phone2;
79 }
80
81 public boolean isHasPhone() {
82 return hasPhone;
83 }
84
85 public void setHasPhone(boolean hasPhone) {
86 this.hasPhone = hasPhone;
87 }
88
89 public String getStateBird() {
90 return stateBird;
91 }
92
93 public void setStateBird(String stateBird) {
94 this.stateBird = stateBird;
95 }
96
97 public Zip getZip() {
98 return zip;
99 }
100
101 public void setZip(Zip zip) {
102 this.zip = zip;
103 }
104 }