KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > riotfamily > website > mail > MailForm


1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1
3  * The contents of this file are subject to the Mozilla Public License Version
4  * 1.1 (the "License"); you may not use this file except in compliance with
5  * the License. You may obtain a copy of the License at
6  * http://www.mozilla.org/MPL/
7  *
8  * Software distributed under the License is distributed on an "AS IS" basis,
9  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10  * for the specific language governing rights and limitations under the
11  * License.
12  *
13  * The Original Code is Riot.
14  *
15  * The Initial Developer of the Original Code is
16  * Neteye GmbH.
17  * Portions created by the Initial Developer are Copyright (C) 2006
18  * the Initial Developer. All Rights Reserved.
19  *
20  * Contributor(s):
21  * Felix Gnass [fgnass at neteye dot de]
22  *
23  * ***** END LICENSE BLOCK ***** */

24 package org.riotfamily.website.mail;
25
26 import java.util.HashMap JavaDoc;
27 import java.util.Map JavaDoc;
28
29 public class MailForm {
30
31     private String JavaDoc name;
32     
33     private String JavaDoc firstName;
34     
35     private String JavaDoc lastName;
36     
37     private String JavaDoc company;
38     
39     private String JavaDoc email;
40     
41     private String JavaDoc message;
42     
43     private String JavaDoc subject;
44
45     private String JavaDoc street;
46     
47     private String JavaDoc streetNumber;
48     
49     private String JavaDoc city;
50     
51     private String JavaDoc zip;
52     
53     private String JavaDoc country;
54     
55     private String JavaDoc phone;
56     
57     private String JavaDoc phoneOffice;
58     
59     private String JavaDoc phoneMobile;
60     
61     private String JavaDoc fax;
62     
63     private Map JavaDoc extras = new HashMap JavaDoc();
64
65     
66     public String JavaDoc getCity() {
67         return this.city;
68     }
69
70     public void setCity(String JavaDoc city) {
71         this.city = city;
72     }
73
74     public String JavaDoc getCompany() {
75         return this.company;
76     }
77
78     public void setCompany(String JavaDoc company) {
79         this.company = company;
80     }
81
82     public String JavaDoc getCountry() {
83         return this.country;
84     }
85
86     public void setCountry(String JavaDoc country) {
87         this.country = country;
88     }
89
90     public String JavaDoc getEmail() {
91         return this.email;
92     }
93
94     public void setEmail(String JavaDoc email) {
95         this.email = email;
96     }
97
98     public String JavaDoc getFax() {
99         return this.fax;
100     }
101
102     public void setFax(String JavaDoc fax) {
103         this.fax = fax;
104     }
105
106     public String JavaDoc getFirstName() {
107         return this.firstName;
108     }
109
110     public void setFirstName(String JavaDoc firstName) {
111         this.firstName = firstName;
112     }
113
114     public String JavaDoc getLastName() {
115         return this.lastName;
116     }
117
118     public void setLastName(String JavaDoc lastName) {
119         this.lastName = lastName;
120     }
121
122     public String JavaDoc getMessage() {
123         return this.message;
124     }
125
126     public void setMessage(String JavaDoc message) {
127         this.message = message;
128     }
129
130     public String JavaDoc getName() {
131         return this.name;
132     }
133
134     public void setName(String JavaDoc name) {
135         this.name = name;
136     }
137
138     public String JavaDoc getPhone() {
139         return this.phone;
140     }
141
142     public void setPhone(String JavaDoc phone) {
143         this.phone = phone;
144     }
145
146     public String JavaDoc getPhoneMobile() {
147         return this.phoneMobile;
148     }
149
150     public void setPhoneMobile(String JavaDoc phoneMobile) {
151         this.phoneMobile = phoneMobile;
152     }
153
154     public String JavaDoc getPhoneOffice() {
155         return this.phoneOffice;
156     }
157
158     public void setPhoneOffice(String JavaDoc phoneOffice) {
159         this.phoneOffice = phoneOffice;
160     }
161
162     public String JavaDoc getStreet() {
163         return this.street;
164     }
165
166     public void setStreet(String JavaDoc street) {
167         this.street = street;
168     }
169
170     public String JavaDoc getStreetNumber() {
171         return this.streetNumber;
172     }
173
174     public void setStreetNumber(String JavaDoc streetNumber) {
175         this.streetNumber = streetNumber;
176     }
177
178     public String JavaDoc getSubject() {
179         return this.subject;
180     }
181
182     public void setSubject(String JavaDoc subject) {
183         this.subject = subject;
184     }
185
186     public String JavaDoc getZip() {
187         return this.zip;
188     }
189
190     public void setZip(String JavaDoc zip) {
191         this.zip = zip;
192     }
193
194     public Map JavaDoc getExtras() {
195         return this.extras;
196     }
197
198     public void setExtras(Map JavaDoc extras) {
199         this.extras = extras;
200     }
201     
202 }
203
Popular Tags