1 package org.kuali.ole;
2
3 import java.util.HashMap;
4 import java.util.Map;
5
6
7
8
9 public class DataCarrierService {
10 private Map<String, Object> dataValuesMap = new HashMap<String, Object>();
11
12
13
14
15
16
17 public void addData(String key, Object value) {
18 this.dataValuesMap.put(key, value);
19 }
20
21
22
23
24
25
26 public Object getData(String key) {
27 return dataValuesMap.get(key);
28 }
29
30
31
32
33
34 public void removeData(String key) {
35 this.dataValuesMap.remove(key);
36 }
37 }