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 org.kuali.rice.krad.datadictionary.parse.BeanTag;
19 import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
20
21
22
23
24
25
26 @BeanTag(name = "searchingAttribute")
27 public class SearchingAttribute extends WorkflowAttributeMetadata {
28 private static final long serialVersionUID = -612461988789474893L;
29
30 private String businessObjectClassName;
31 private String attributeName;
32 private boolean showAttributeInSearchCriteria = true;
33 private boolean showAttributeInResultSet = false;
34
35
36
37
38 @BeanTagAttribute(name = "businessObjectClassName")
39 public String getBusinessObjectClassName() {
40 return this.businessObjectClassName;
41 }
42
43
44
45
46 @BeanTagAttribute(name = "attributeName")
47 public String getAttributeName() {
48 return this.attributeName;
49 }
50
51
52
53
54 public void setBusinessObjectClassName(String businessObjectClassName) {
55 this.businessObjectClassName = businessObjectClassName;
56 }
57
58
59
60
61 public void setAttributeName(String attributeName) {
62 this.attributeName = attributeName;
63 }
64
65
66
67
68
69
70 @BeanTagAttribute(name = "showAttriubteInSearchCriteria")
71 public boolean isShowAttributeInSearchCriteria() {
72 return this.showAttributeInSearchCriteria;
73 }
74
75
76
77
78
79
80 public void setShowAttributeInSearchCriteria(boolean showAttributeInSearchCriteria) {
81 this.showAttributeInSearchCriteria = showAttributeInSearchCriteria;
82 }
83
84
85
86
87
88
89 @BeanTagAttribute(name = "ShowAttributeInResultSet")
90 public boolean isShowAttributeInResultSet() {
91 return this.showAttributeInResultSet;
92 }
93
94
95
96
97
98
99 public void setShowAttributeInResultSet(boolean showAttributeInResultSet) {
100 this.showAttributeInResultSet = showAttributeInResultSet;
101 }
102 }