1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.datadictionary.uif;
17
18 import org.kuali.rice.krad.datadictionary.DictionaryBeanBase;
19
20 import java.util.HashMap;
21 import java.util.Map;
22
23
24
25
26
27
28
29
30
31
32
33 public class UifDictionaryBeanBase extends DictionaryBeanBase implements UifDictionaryBean {
34
35 private Map<String, String> expressionGraph;
36 private Map<String, String> refreshExpressionGraph;
37 private Map<String, String> propertyExpressions;
38
39 public UifDictionaryBeanBase() {
40 expressionGraph = new HashMap<String, String>();
41 refreshExpressionGraph = new HashMap<String, String>();
42 propertyExpressions = new HashMap<String, String>();
43 }
44
45
46
47
48 public Map<String, String> getExpressionGraph() {
49 return expressionGraph;
50 }
51
52
53
54
55 public void setExpressionGraph(Map<String, String> expressionGraph) {
56 this.expressionGraph = expressionGraph;
57 }
58
59
60
61
62 public Map<String, String> getRefreshExpressionGraph() {
63 return refreshExpressionGraph;
64 }
65
66
67
68
69 public void setRefreshExpressionGraph(Map<String, String> refreshExpressionGraph) {
70 this.refreshExpressionGraph = refreshExpressionGraph;
71 }
72
73
74
75
76 public Map<String, String> getPropertyExpressions() {
77 return propertyExpressions;
78 }
79
80
81
82
83 public void setPropertyExpressions(Map<String, String> propertyExpressions) {
84 this.propertyExpressions = propertyExpressions;
85 }
86
87
88
89
90 public String getPropertyExpression(String propertyName) {
91 if (this.propertyExpressions.containsKey(propertyName)) {
92 return this.propertyExpressions.get(propertyName);
93 }
94
95 return null;
96 }
97 }