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   * 
24   */
25  public class KualiHelpForm extends KualiForm {
26      private static final long serialVersionUID = 1L;
27      private String businessObjectClassName;
28      private String attributeName;
29      private String helpLabel;
30      private String helpSummary;
31      private String helpDescription;
32      private String resourceKey;
33      private String documentTypeName;
34      private String helpDataType;
35      private String helpRequired;
36      private String helpMaxLength;
37      private String helpVPatName;
38      private HelpDefinition helpDefinition;
39      private String helpParameterNamespace;
40      private String helpParameterDetailType;
41      private String helpParameterName;
42      private String pageName;
43      private String lookupBusinessObjectClassName;
44      private String searchDocumentTypeName;
45  
46      /**
47       * @return Returns the attributeName.
48       */
49      public String getAttributeName() {
50          return attributeName;
51      }
52  
53      /**
54       * @param attributeName The attributeName to set.
55       */
56      public void setAttributeName(String attributeName) {
57          this.attributeName = attributeName;
58      }
59  
60      /**
61       * @return Returns the businessObjectClassName.
62       */
63      public String getBusinessObjectClassName() {
64          return businessObjectClassName;
65      }
66  
67      /**
68       * @param businessObjectClassName The businessObjectClassName to set.
69       */
70      public void setBusinessObjectClassName(String businessObjectClassName) {
71          this.businessObjectClassName = businessObjectClassName;
72      }
73  
74      /**
75       * @return Returns the helpDescription.
76       */
77      public String getHelpDescription() {
78          return helpDescription;
79      }
80  
81      /**
82       * @param helpDescription The helpDescription to set.
83       */
84      public void setHelpDescription(String helpDescription) {
85          this.helpDescription = helpDescription;
86      }
87  
88      /**
89       * @return Returns the helpLabel.
90       */
91      public String getHelpLabel() {
92          return helpLabel;
93      }
94  
95      /**
96       * @param helpLabel The helpLabel to set.
97       */
98      public void setHelpLabel(String helpLabel) {
99          this.helpLabel = helpLabel;
100     }
101 
102     /**
103      * @return Returns the helpSummary.
104      */
105     public String getHelpSummary() {
106         return helpSummary;
107     }
108 
109     /**
110      * @param helpSummary The helpSummary to set.
111      */
112     public void setHelpSummary(String helpSummary) {
113         this.helpSummary = helpSummary;
114     }
115 
116     /**
117      * @return Returns the resourceKey.
118      */
119     public String getResourceKey() {
120         return resourceKey;
121     }
122 
123     /**
124      * @param resourceKey The resourceKey to set.
125      */
126     public void setResourceKey(String resourceKey) {
127         this.resourceKey = resourceKey;
128     }
129 
130     /**
131      * @return Returns the documentTypeName.
132      */
133     public String getDocumentTypeName() {
134         return documentTypeName;
135     }
136 
137     /**
138      * @param documentTypeName The documentTypeName to set.
139      */
140     public void setDocumentTypeName(String documentTypeName) {
141         this.documentTypeName = documentTypeName;
142     }
143 
144     /**
145      * Form field accessor for Required
146      * 
147      * @param r
148      */
149     public void setHelpRequired(String r) {
150         helpRequired = r;
151     }
152 
153     /**
154      * Form field accessor for Required
155      * 
156      * @return String
157      */
158     public String getHelpRequired() {
159         return helpRequired;
160     }
161 
162     /**
163      * Form field accessor for DataType
164      * 
165      * @param s
166      */
167     public void setHelpDataType(String s) {
168         helpDataType = s;
169     }
170 
171     /**
172      * Form field accessor for DataType
173      * 
174      * @return String
175      */
176     public String getHelpDataType() {
177         return helpDataType;
178     }
179 
180     /**
181      * Form field accessor for Maximum Length
182      * 
183      * @param m
184      */
185     public void setHelpMaxLength(String m) {
186         helpMaxLength = m;
187     }
188 
189     /**
190      * Form field accessor for Maximum Length
191      * 
192      * @return String
193      */
194     public String getHelpMaxLength() {
195         return helpMaxLength;
196     }
197 
198     /**
199      * Form field accessor for name of Validation Pattern
200      * 
201      * @param v
202      */
203     public void setValidationPatternName(String v) {
204         helpVPatName = v;
205     }
206 
207     /**
208      * Form field accessor for name of Validation Pattern
209      * 
210      * @return String
211      */
212     public String getValidationPatternName() {
213         return helpVPatName;
214     }
215 
216     /**
217      * Form field accessor for system parameter help.
218      * 
219      * @return helpDefinition
220      */
221     public HelpDefinition getHelpDefinition() {
222         return helpDefinition;
223     }
224 
225     /**
226      * Form field accessor for system parameter help.
227      * 
228      * @param helpDefinition
229      */
230     public void setHelpDefinition(HelpDefinition helpDefinition) {
231         this.helpDefinition = helpDefinition;
232     }
233 
234     public String getHelpParameterName() {
235         return helpParameterName;
236     }
237 
238     public void setHelpParameterName(String helpParameterName) {
239         this.helpParameterName = helpParameterName;
240     }
241 
242     public String getHelpParameterNamespace() {
243         return helpParameterNamespace;
244     }
245 
246     public void setHelpParameterNamespace(String helpSecurityGroupName) {
247         this.helpParameterNamespace = helpSecurityGroupName;
248     }
249 
250     public String getPageName() {
251         return pageName;
252     }
253 
254     public void setPageName(String pageName) {
255         this.pageName = pageName;
256     }
257 
258     public String getHelpParameterDetailType() {
259         return this.helpParameterDetailType;
260     }
261 
262     public void setHelpParameterDetailType(String helpParameterDetailType) {
263         this.helpParameterDetailType = helpParameterDetailType;
264     }
265 
266     /**
267      * @return the lookupBusinessObjectClassName
268      */
269     public String getLookupBusinessObjectClassName() {
270         return this.lookupBusinessObjectClassName;
271     }
272 
273     /**
274      * @param lookupBusinessObjectClassName the lookupBusinessObjectClassName to set
275      */
276     public void setLookupBusinessObjectClassName(String lookupBusinessObjectClassName) {
277         this.lookupBusinessObjectClassName = lookupBusinessObjectClassName;
278     }
279 
280     /**
281      * @param searchDocumentTypeName the searchDocumentTypeName to set
282      */
283     public void setSearchDocumentTypeName(String searchDocumentTypeName) {
284         this.searchDocumentTypeName = searchDocumentTypeName;
285     }
286 
287     /**
288      * @return the searchDocumentTypeName
289      */
290     public String getSearchDocumentTypeName() {
291         return this.searchDocumentTypeName;
292     }
293 }