1 | |
package org.kuali.spring.util; |
2 | |
|
3 | |
public class PropertyMergeResult { |
4 | |
PropertiesMergeContext context; |
5 | |
String key; |
6 | |
String oldValue; |
7 | |
String newValue; |
8 | |
PropertyMergeType type; |
9 | |
|
10 | |
public PropertyMergeResult() { |
11 | 0 | this(null, null, null, null, null); |
12 | 0 | } |
13 | |
|
14 | |
public PropertyMergeResult(PropertiesMergeContext context, String key, String oldValue, String newValue, |
15 | |
PropertyMergeType reason) { |
16 | 106 | super(); |
17 | 106 | this.context = context; |
18 | 106 | this.key = key; |
19 | 106 | this.oldValue = oldValue; |
20 | 106 | this.newValue = newValue; |
21 | 106 | this.type = reason; |
22 | 106 | } |
23 | |
|
24 | |
public String getKey() { |
25 | 106 | return key; |
26 | |
} |
27 | |
|
28 | |
public void setKey(String key) { |
29 | 0 | this.key = key; |
30 | 0 | } |
31 | |
|
32 | |
public String getOldValue() { |
33 | 106 | return oldValue; |
34 | |
} |
35 | |
|
36 | |
public void setOldValue(String oldValue) { |
37 | 0 | this.oldValue = oldValue; |
38 | 0 | } |
39 | |
|
40 | |
public String getNewValue() { |
41 | 106 | return newValue; |
42 | |
} |
43 | |
|
44 | |
public void setNewValue(String newValue) { |
45 | 0 | this.newValue = newValue; |
46 | 0 | } |
47 | |
|
48 | |
public PropertyMergeType getType() { |
49 | 106 | return type; |
50 | |
} |
51 | |
|
52 | |
public void setType(PropertyMergeType reason) { |
53 | 0 | this.type = reason; |
54 | 0 | } |
55 | |
|
56 | |
public PropertiesMergeContext getContext() { |
57 | 106 | return context; |
58 | |
} |
59 | |
|
60 | |
public void setContext(PropertiesMergeContext context) { |
61 | 0 | this.context = context; |
62 | 0 | } |
63 | |
} |