01: package org.objectweb.salome_tmf.data;
02:
03: public class SalomeEvent {
04:
05: int _code;
06: Object _object;
07:
08: Object _oldValue;
09: Object _newValue;
10:
11: public SalomeEvent(int c, Object arg) {
12: _code = c;
13: _object = arg;
14: }
15:
16: public SalomeEvent(int c, Object arg, Object oldValue,
17: Object newValue) {
18: _code = c;
19: _object = arg;
20: _oldValue = oldValue;
21: _newValue = newValue;
22: }
23:
24: public int getCode() {
25: return _code;
26: }
27:
28: public Object getArg() {
29: return _object;
30: }
31:
32: public Object getNewValue() {
33: return _newValue;
34: }
35:
36: public Object getOldValue() {
37: return _oldValue;
38: }
39:
40: }
|