01: package hugetestportlet.data;
02:
03: public class PersonBean {
04:
05: private String gender;
06:
07: private boolean prof;
08:
09: private boolean dr;
10:
11: private String name;
12:
13: private String givenName;
14:
15: public PersonBean() {
16:
17: }
18:
19: public PersonBean(String gender, boolean prof, boolean dr,
20: String name, String givenName) {
21: this .gender = gender;
22: this .prof = prof;
23: this .dr = dr;
24: this .name = name;
25: this .givenName = givenName;
26: }
27:
28: public boolean isDr() {
29: return dr;
30: }
31:
32: public void setDr(boolean dr) {
33: this .dr = dr;
34: }
35:
36: public String getGender() {
37: return gender;
38: }
39:
40: public void setGender(String gender) {
41: this .gender = gender;
42: }
43:
44: public String getGivenName() {
45: return givenName;
46: }
47:
48: public void setGivenName(String givenName) {
49: this .givenName = givenName;
50: }
51:
52: public String getName() {
53: return name;
54: }
55:
56: public void setName(String name) {
57: this .name = name;
58: }
59:
60: public boolean isProf() {
61: return prof;
62: }
63:
64: public void setProf(boolean prof) {
65: this.prof = prof;
66: }
67:
68: }
|