KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jresearch > gossip > forms > SendAdminMailForm


1 /*
2  * $$Id: SendAdminMailForm.java,v 1.3 2005/06/07 12:32:17 bel70 Exp $$
3  *
4  * ***** BEGIN LICENSE BLOCK ***** The contents of this file are subject to the
5  * Mozilla Public License Version 1.1 (the "License"); you may not use this file
6  * except in compliance with the License. You may obtain a copy of the License
7  * at http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS" basis,
10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
11  * the specific language governing rights and limitations under the License.
12  *
13  * The Original Code is JGossip forum code.
14  *
15  * The Initial Developer of the Original Code is the JResearch, Org. Portions
16  * created by the Initial Developer are Copyright (C) 2004 the Initial
17  * Developer. All Rights Reserved.
18  *
19  * Contributor(s): Dmitry Belov <bel@jresearch.org>
20  *
21  * ***** END LICENSE BLOCK *****
22  */

23 /*
24  * Created on 21.05.2004
25  *
26  */

27 package org.jresearch.gossip.forms;
28
29 import org.apache.struts.validator.ValidatorForm;
30
31 /**
32  * @author dbelov
33  *
34  */

35 public class SendAdminMailForm extends ValidatorForm {
36     private String JavaDoc subject;
37
38     private String JavaDoc text;
39
40     /**
41      * @return Returns the subject.
42      */

43     public String JavaDoc getSubject() {
44         return subject;
45     }
46
47     /**
48      * @param subject
49      * The subject to set.
50      */

51     public void setSubject(String JavaDoc subject) {
52         this.subject = subject;
53     }
54
55     /**
56      * @return Returns the text.
57      */

58     public String JavaDoc getText() {
59         return text;
60     }
61
62     /**
63      * @param text
64      * The text to set.
65      */

66     public void setText(String JavaDoc text) {
67         this.text = text;
68     }
69 }
70
Popular Tags