001/**
002 * Copyright 2005-2016 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.kns.web.struts.form;
017
018import org.kuali.rice.krad.datadictionary.HelpDefinition;
019
020/**
021 * Holds help parameters and found text.
022 * 
023 * 
024 */
025public class KualiHelpForm extends KualiForm {
026    private static final long serialVersionUID = 1L;
027    private String businessObjectClassName;
028    private String attributeName;
029    private String helpLabel;
030    private String helpSummary;
031    private String helpDescription;
032    private String resourceKey;
033    private String documentTypeName;
034    private String helpDataType;
035    private String helpRequired;
036    private String helpMaxLength;
037    private String helpVPatName;
038    private HelpDefinition helpDefinition;
039    private String helpParameterNamespace;
040    private String helpParameterDetailType;
041    private String helpParameterName;
042    private String pageName;
043    private String lookupBusinessObjectClassName;
044    private String searchDocumentTypeName;
045
046    /**
047     * @return Returns the attributeName.
048     */
049    public String getAttributeName() {
050        return attributeName;
051    }
052
053    /**
054     * @param attributeName The attributeName to set.
055     */
056    public void setAttributeName(String attributeName) {
057        this.attributeName = attributeName;
058    }
059
060    /**
061     * @return Returns the businessObjectClassName.
062     */
063    public String getBusinessObjectClassName() {
064        return businessObjectClassName;
065    }
066
067    /**
068     * @param businessObjectClassName The businessObjectClassName to set.
069     */
070    public void setBusinessObjectClassName(String businessObjectClassName) {
071        this.businessObjectClassName = businessObjectClassName;
072    }
073
074    /**
075     * @return Returns the helpDescription.
076     */
077    public String getHelpDescription() {
078        return helpDescription;
079    }
080
081    /**
082     * @param helpDescription The helpDescription to set.
083     */
084    public void setHelpDescription(String helpDescription) {
085        this.helpDescription = helpDescription;
086    }
087
088    /**
089     * @return Returns the helpLabel.
090     */
091    public String getHelpLabel() {
092        return helpLabel;
093    }
094
095    /**
096     * @param helpLabel The helpLabel to set.
097     */
098    public void setHelpLabel(String helpLabel) {
099        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}