1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.submitted.global_variables;
17
18 import org.apache.ibatis.cache.impl.PerpetualCache;
19
20 public class CustomCache extends PerpetualCache {
21
22 private String stringValue;
23 private Integer integerValue;
24 private long longValue;
25
26 public CustomCache(String id) {
27 super(id);
28 }
29
30 public String getStringValue() {
31 return stringValue;
32 }
33
34 public void setStringValue(String stringValue) {
35 this.stringValue = stringValue;
36 }
37
38 public Integer getIntegerValue() {
39 return integerValue;
40 }
41
42 public void setIntegerValue(Integer integerValue) {
43 this.integerValue = integerValue;
44 }
45
46 public long getLongValue() {
47 return longValue;
48 }
49
50 public void setLongValue(long longValue) {
51 this.longValue = longValue;
52 }
53
54 }