KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > sql > struts > EditQueryForm


1 package org.jahia.clipbuilder.sql.struts;
2
3 import org.apache.struts.action.*;
4
5 /**
6  * Struts form
7  *
8  *@author ktlili
9  */

10 public class EditQueryForm extends ActionForm {
11     private String JavaDoc title;
12     private String JavaDoc database;
13     private String JavaDoc databaseName;
14     private String JavaDoc databaseUrl;
15     private String JavaDoc userName;
16     private String JavaDoc userPassword;
17     private String JavaDoc sqlQuery;
18     private String JavaDoc tableSize;
19     private String JavaDoc portletname;
20     private String JavaDoc portletdescription;
21
22
23     /**
24      * Sets the Database attribute of the EditQueryForm object
25      *
26      *@param database The new Database value
27      */

28     public void setDatabase(String JavaDoc database) {
29         this.database = database;
30     }
31
32
33     /**
34      * Sets the SqlQuery attribute of the EditQueryForm object
35      *
36      *@param sqlQuery The new SqlQuery value
37      */

38     public void setSqlQuery(String JavaDoc sqlQuery) {
39         this.sqlQuery = sqlQuery;
40     }
41
42
43     /**
44      * Sets the UserName attribute of the EditQueryForm object
45      *
46      *@param userName The new UserName value
47      */

48     public void setUserName(String JavaDoc userName) {
49         this.userName = userName;
50     }
51
52
53     /**
54      * Sets the UserPassword attribute of the EditQueryForm object
55      *
56      *@param userPassword The new UserPassword value
57      */

58     public void setUserPassword(String JavaDoc userPassword) {
59         this.userPassword = userPassword;
60     }
61
62
63     /**
64      * Sets the DatabaseName attribute of the EditQueryForm object
65      *
66      *@param databaseName The new DatabaseName value
67      */

68     public void setDatabaseName(String JavaDoc databaseName) {
69         this.databaseName = databaseName;
70     }
71
72
73     /**
74      * Sets the DatabaseUrl attribute of the EditQueryForm object
75      *
76      *@param databaseUrl The new DatabaseUrl value
77      */

78     public void setDatabaseUrl(String JavaDoc databaseUrl) {
79         this.databaseUrl = databaseUrl;
80     }
81
82
83     /**
84      * Sets the Title attribute of the EditQueryForm object
85      *
86      *@param title The new Title value
87      */

88     public void setTitle(String JavaDoc title) {
89         this.title = title;
90     }
91
92     public void setPortletdescription(String JavaDoc portletdescription) {
93         this.portletdescription = portletdescription;
94     }
95
96     public void setPortletname(String JavaDoc portletname) {
97         this.portletname = portletname;
98     }
99
100     public void setTableSize(String JavaDoc tableSize) {
101         this.tableSize = tableSize;
102     }
103
104
105     /**
106      * Gets the Database attribute of the EditQueryForm object
107      *
108      *@return The Database value
109      */

110     public String JavaDoc getDatabase() {
111         return database;
112     }
113
114
115     /**
116      * Gets the SqlQuery attribute of the EditQueryForm object
117      *
118      *@return The SqlQuery value
119      */

120     public String JavaDoc getSqlQuery() {
121         return sqlQuery;
122     }
123
124
125     /**
126      * Gets the UserName attribute of the EditQueryForm object
127      *
128      *@return The UserName value
129      */

130     public String JavaDoc getUserName() {
131         return userName;
132     }
133
134
135     /**
136      * Gets the UserPassword attribute of the EditQueryForm object
137      *
138      *@return The UserPassword value
139      */

140     public String JavaDoc getUserPassword() {
141         return userPassword;
142     }
143
144
145     /**
146      * Gets the DatabaseName attribute of the EditQueryForm object
147      *
148      *@return The DatabaseName value
149      */

150     public String JavaDoc getDatabaseName() {
151         return databaseName;
152     }
153
154
155     /**
156      * Gets the DatabaseUrl attribute of the EditQueryForm object
157      *
158      *@return The DatabaseUrl value
159      */

160     public String JavaDoc getDatabaseUrl() {
161         return databaseUrl;
162     }
163
164
165     /**
166      * Gets the Title attribute of the EditQueryForm object
167      *
168      *@return The Title value
169      */

170     public String JavaDoc getTitle() {
171         return title;
172     }
173
174     public String JavaDoc getPortletdescription() {
175         return portletdescription;
176     }
177
178     public String JavaDoc getPortletname() {
179         return portletname;
180     }
181
182     public String JavaDoc getTableSize() {
183         return tableSize;
184     }
185
186 }
187
Popular Tags