View Javadoc
1   /**
2    * Copyright 2005-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.kns.web.struts.form;
17  
18  import org.kuali.rice.krad.datadictionary.HelpDefinition;
19  
20  /**
21   * Holds help parameters and found text.
22   * 
23   * @deprecated KNS Struts deprecated, use KRAD and the Spring MVC framework.
24   */
25  @Deprecated
26  public class KualiHelpForm extends KualiForm {
27      private static final long serialVersionUID = 1L;
28      private String businessObjectClassName;
29      private String attributeName;
30      private String helpLabel;
31      private String helpSummary;
32      private String helpDescription;
33      private String resourceKey;
34      private String documentTypeName;
35      private String helpDataType;
36      private String helpRequired;
37      private String helpMaxLength;
38      private String helpVPatName;
39      private HelpDefinition helpDefinition;
40      private String helpParameterNamespace;
41      private String helpParameterDetailType;
42      private String helpParameterName;
43      private String pageName;
44      private String lookupBusinessObjectClassName;
45      private String searchDocumentTypeName;
46  
47      /**
48       * @return Returns the attributeName.
49       */
50      public String getAttributeName() {
51          return attributeName;
52      }
53  
54      /**
55       * @param attributeName The attributeName to set.
56       */
57      public void setAttributeName(String attributeName) {
58          this.attributeName = attributeName;
59      }
60  
61      /**
62       * @return Returns the businessObjectClassName.
63       */
64      public String getBusinessObjectClassName() {
65          return businessObjectClassName;
66      }
67  
68      /**
69       * @param businessObjectClassName The businessObjectClassName to set.
70       */
71      public void setBusinessObjectClassName(String businessObjectClassName) {
72          this.businessObjectClassName = businessObjectClassName;
73      }
74  
75      /**
76       * @return Returns the helpDescription.
77       */
78      public String getHelpDescription() {
79          return helpDescription;
80      }
81  
82      /**
83       * @param helpDescription The helpDescription to set.
84       */
85      public void setHelpDescription(String helpDescription) {
86          this.helpDescription = helpDescription;
87      }
88  
89      /**
90       * @return Returns the helpLabel.
91       */
92      public String getHelpLabel() {
93          return helpLabel;
94      }
95  
96      /**
97       * @param helpLabel The helpLabel to set.
98       */
99      public void setHelpLabel(String helpLabel) {
100         this.helpLabel = helpLabel;
101     }
102 
103     /**
104      * @return Returns the helpSummary.
105      */
106     public String getHelpSummary() {
107         return helpSummary;
108     }
109 
110     /**
111      * @param helpSummary The helpSummary to set.
112      */
113     public void setHelpSummary(String helpSummary) {
114         this.helpSummary = helpSummary;
115     }
116 
117     /**
118      * @return Returns the resourceKey.
119      */
120     public String getResourceKey() {
121         return resourceKey;
122     }
123 
124     /**
125      * @param resourceKey The resourceKey to set.
126      */
127     public void setResourceKey(String resourceKey) {
128         this.resourceKey = resourceKey;
129     }
130 
131     /**
132      * @return Returns the documentTypeName.
133      */
134     public String getDocumentTypeName() {
135         return documentTypeName;
136     }
137 
138     /**
139      * @param documentTypeName The documentTypeName to set.
140      */
141     public void setDocumentTypeName(String documentTypeName) {
142         this.documentTypeName = documentTypeName;
143     }
144 
145     /**
146      * Form field accessor for Required
147      * 
148      * @param r
149      */
150     public void setHelpRequired(String r) {
151         helpRequired = r;
152     }
153 
154     /**
155      * Form field accessor for Required
156      * 
157      * @return String
158      */
159     public String getHelpRequired() {
160         return helpRequired;
161     }
162 
163     /**
164      * Form field accessor for DataType
165      * 
166      * @param s
167      */
168     public void setHelpDataType(String s) {
169         helpDataType = s;
170     }
171 
172     /**
173      * Form field accessor for DataType
174      * 
175      * @return String
176      */
177     public String getHelpDataType() {
178         return helpDataType;
179     }
180 
181     /**
182      * Form field accessor for Maximum Length
183      * 
184      * @param m
185      */
186     public void setHelpMaxLength(String m) {
187         helpMaxLength = m;
188     }
189 
190     /**
191      * Form field accessor for Maximum Length
192      * 
193      * @return String
194      */
195     public String getHelpMaxLength() {
196         return helpMaxLength;
197     }
198 
199     /**
200      * Form field accessor for name of Validation Pattern
201      * 
202      * @param v
203      */
204     public void setValidationPatternName(String v) {
205         helpVPatName = v;
206     }
207 
208     /**
209      * Form field accessor for name of Validation Pattern
210      * 
211      * @return String
212      */
213     public String getValidationPatternName() {
214         return helpVPatName;
215     }
216 
217     /**
218      * Form field accessor for system parameter help.
219      * 
220      * @return helpDefinition
221      */
222     public HelpDefinition getHelpDefinition() {
223         return helpDefinition;
224     }
225 
226     /**
227      * Form field accessor for system parameter help.
228      * 
229      * @param helpDefinition
230      */
231     public void setHelpDefinition(HelpDefinition helpDefinition) {
232         this.helpDefinition = helpDefinition;
233     }
234 
235     public String getHelpParameterName() {
236         return helpParameterName;
237     }
238 
239     public void setHelpParameterName(String helpParameterName) {
240         this.helpParameterName = helpParameterName;
241     }
242 
243     public String getHelpParameterNamespace() {
244         return helpParameterNamespace;
245     }
246 
247     public void setHelpParameterNamespace(String helpSecurityGroupName) {
248         this.helpParameterNamespace = helpSecurityGroupName;
249     }
250 
251     public String getPageName() {
252         return pageName;
253     }
254 
255     public void setPageName(String pageName) {
256         this.pageName = pageName;
257     }
258 
259     public String getHelpParameterDetailType() {
260         return this.helpParameterDetailType;
261     }
262 
263     public void setHelpParameterDetailType(String helpParameterDetailType) {
264         this.helpParameterDetailType = helpParameterDetailType;
265     }
266 
267     /**
268      * @return the lookupBusinessObjectClassName
269      */
270     public String getLookupBusinessObjectClassName() {
271         return this.lookupBusinessObjectClassName;
272     }
273 
274     /**
275      * @param lookupBusinessObjectClassName the lookupBusinessObjectClassName to set
276      */
277     public void setLookupBusinessObjectClassName(String lookupBusinessObjectClassName) {
278         this.lookupBusinessObjectClassName = lookupBusinessObjectClassName;
279     }
280 
281     /**
282      * @param searchDocumentTypeName the searchDocumentTypeName to set
283      */
284     public void setSearchDocumentTypeName(String searchDocumentTypeName) {
285         this.searchDocumentTypeName = searchDocumentTypeName;
286     }
287 
288     /**
289      * @return the searchDocumentTypeName
290      */
291     public String getSearchDocumentTypeName() {
292         return this.searchDocumentTypeName;
293     }
294 }