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 @Override
49 public Map<String, String> getExpressionGraph() {
50 return expressionGraph;
51 }
52
53
54
55
56 @Override
57 public void setExpressionGraph(Map<String, String> expressionGraph) {
58 this.expressionGraph = expressionGraph;
59 }
60
61
62
63
64 public Map<String, String> getPropertyExpressions() {
65 return propertyExpressions;
66 }
67
68
69
70
71 public void setPropertyExpressions(Map<String, String> propertyExpressions) {
72 this.propertyExpressions = propertyExpressions;
73 }
74
75
76
77
78 public String getPropertyExpression(String propertyName) {
79 if (this.propertyExpressions.containsKey(propertyName)) {
80 return this.propertyExpressions.get(propertyName);
81 }
82
83 return null;
84 }
85 }