/Users/lyon/j4p/src/net/server/servlets/FormBean.java
|
1 package net.server.servlets;
2
3 public class FormBean {
4 private String firstName;
5 private String lastName;
6 private String email;
7 private String languages[];
8 private String notify;
9
10 public FormBean() {
11 firstName = "";
12 lastName = "";
13 email = "";
14 languages = new String[]{"1"};
15 notify = "";
16 }
17
18 public String getFirstName() {
19 return firstName;
20 }
21
22 public String getLastName() {
23 return lastName;
24 }
25
26 public String getEmail() {
27 return email;
28 }
29
30 public String[] getLanguages() {
31 return languages;
32 }
33
34 public String getLanguages(int index) {
35 return languages[index];
36 }
37
38 public String getNotify() {
39 return notify;
40 }
41
42 public void setFirstName(String x) {
43 firstName = x;
44 }
45
46 public void setLastName(String x) {
47 lastName = x;
48 }
49
50 public void setEmail(String x) {
51 email = x;
52 }
53
54 public void setLanguages(String[] x) {
55 languages = x;
56 }
57
58 public void setLanguages(String x, int index) {
59 languages[index] = x;
60 }
61
62 public void setNotify(String x) {
63 notify = x;
64 }
65
66 }
67
68
69
70