KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > webapp > struts > forms > RefreshForm


1 /*
2  * (c) Rob Gordon 2005
3  */

4 package org.oddjob.webapp.struts.forms;
5
6 import org.apache.struts.action.ActionForm;
7
8 public class RefreshForm extends ActionForm {
9     private static final long serialVersionUID = 20051221;
10
11     private transient String JavaDoc refresh;
12
13     /** The reference id of the selected job */
14     private transient String JavaDoc refId;
15
16     /**
17      * Get the refresh rate.
18      *
19      * @return The refresh rate.
20      */

21     public String JavaDoc getRefresh() {
22         return refresh;
23     }
24
25     /**
26      * Set refresh rate.
27      *
28      * @param refresh The refresh rate in seconds.
29      */

30     public void setRefresh(String JavaDoc refresh) {
31         this.refresh = refresh;
32     }
33     
34     /**
35      * Setter for refId.
36      *
37      * @param refId The refId.
38      */

39     public void setRefId(String JavaDoc refId) {
40         this.refId = refId;
41     }
42     
43     /**
44      * Getter for refId.
45      *
46      * @return The refId.
47      */

48     public String JavaDoc getRefId() {
49         return refId;
50     }
51 }
52
Popular Tags