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 | 136 | super(); |
17 | 136 | this.context = context; |
18 | 136 | this.key = key; |
19 | 136 | this.oldValue = oldValue; |
20 | 136 | this.newValue = newValue; |
21 | 136 | this.type = reason; |
22 | 136 | } |
23 | |
|
24 | |
public String getKey() { |
25 | 136 | return key; |
26 | |
} |
27 | |
|
28 | |
public void setKey(String key) { |
29 | 0 | this.key = key; |
30 | 0 | } |
31 | |
|
32 | |
public String getOldValue() { |
33 | 136 | return oldValue; |
34 | |
} |
35 | |
|
36 | |
public void setOldValue(String oldValue) { |
37 | 0 | this.oldValue = oldValue; |
38 | 0 | } |
39 | |
|
40 | |
public String getNewValue() { |
41 | 136 | return newValue; |
42 | |
} |
43 | |
|
44 | |
public void setNewValue(String newValue) { |
45 | 0 | this.newValue = newValue; |
46 | 0 | } |
47 | |
|
48 | |
public PropertyMergeType getType() { |
49 | 136 | return type; |
50 | |
} |
51 | |
|
52 | |
public void setType(PropertyMergeType reason) { |
53 | 0 | this.type = reason; |
54 | 0 | } |
55 | |
|
56 | |
public PropertiesMergeContext getContext() { |
57 | 136 | return context; |
58 | |
} |
59 | |
|
60 | |
public void setContext(PropertiesMergeContext context) { |
61 | 0 | this.context = context; |
62 | 0 | } |
63 | |
} |