|
1 |
| package org.jconfig.event; |
|
2 |
| |
|
3 |
| import org.jconfig.Category; |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| |
|
9 |
| |
|
10 |
| |
|
11 |
| |
|
12 |
| |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| public class ConfigurationChangedEventImpl |
|
17 |
| implements ConfigurationChangedEvent { |
|
18 |
| private String propertyName = null; |
|
19 |
| private Category category = null; |
|
20 |
| private int eventType = -1; |
|
21 |
| private String oldValue = null; |
|
22 |
| private String newValue = null; |
|
23 |
| |
|
24 |
| |
|
25 |
| |
|
26 |
| |
|
27 |
| |
|
28 |
| |
|
29 |
1248
| public ConfigurationChangedEventImpl(int eventType, Category category, String propertyName, String oldValue, String newValue) {
|
|
30 |
1248
| this.eventType = eventType;
|
|
31 |
1248
| this.oldValue = oldValue;
|
|
32 |
1248
| this.newValue = newValue;
|
|
33 |
1248
| this.category = category;
|
|
34 |
1248
| this.propertyName = propertyName;
|
|
35 |
| } |
|
36 |
| |
|
37 |
| |
|
38 |
| |
|
39 |
| |
|
40 |
3
| public String getPropertyName() {
|
|
41 |
3
| return propertyName;
|
|
42 |
| } |
|
43 |
| |
|
44 |
| |
|
45 |
| |
|
46 |
| |
|
47 |
3
| public int getEventType() {
|
|
48 |
3
| return eventType;
|
|
49 |
| } |
|
50 |
| |
|
51 |
| |
|
52 |
| |
|
53 |
| |
|
54 |
| |
|
55 |
3
| public String getNewValue() {
|
|
56 |
3
| return newValue;
|
|
57 |
| } |
|
58 |
| |
|
59 |
| |
|
60 |
| |
|
61 |
| |
|
62 |
3
| public String getOldValue() {
|
|
63 |
3
| return oldValue;
|
|
64 |
| } |
|
65 |
| |
|
66 |
| |
|
67 |
| |
|
68 |
| |
|
69 |
0
| public Category getCategory() {
|
|
70 |
0
| return category;
|
|
71 |
| } |
|
72 |
| |
|
73 |
| } |