1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.datadictionary;
17
18 import java.io.Serializable;
19
20 import org.apache.commons.lang.StringUtils;
21 import org.kuali.rice.krad.datadictionary.parse.BeanTag;
22 import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 @BeanTag(name = "helpDefinition-bean")
40 public class HelpDefinition extends DataDictionaryDefinitionBase implements Serializable {
41 private static final long serialVersionUID = -6869646654597012863L;
42
43 protected String parameterNamespace;
44 protected String parameterDetailType;
45 protected String parameterName;
46
47
48
49
50 public HelpDefinition() {}
51
52
53
54
55 @BeanTagAttribute(name = "parameterName")
56 public String getParameterName() {
57 return parameterName;
58 }
59
60
61
62
63 public void setParameterName(String parameterName) {
64 if (StringUtils.isBlank(parameterName)) {
65 throw new IllegalArgumentException("invalid (blank) parameterName");
66 }
67 this.parameterName = parameterName;
68 }
69
70
71
72
73 @BeanTagAttribute(name = "parameterNamespace")
74 public String getParameterNamespace() {
75 return parameterNamespace;
76 }
77
78
79
80
81 public void setParameterNamespace(String parameterNamespace) {
82 this.parameterNamespace = parameterNamespace;
83 }
84
85 @BeanTagAttribute(name = "parameterDetailType")
86 public String getParameterDetailType() {
87 return this.parameterDetailType;
88 }
89
90
91
92
93 public void setParameterDetailType(String parameterDetailType) {
94 if (StringUtils.isBlank(parameterDetailType)) {
95 throw new IllegalArgumentException("invalid (blank) parameterDetailType");
96 }
97 this.parameterDetailType = parameterDetailType;
98 }
99
100 }