01: package org.josql.events;
02:
03: import java.util.EventObject;
04:
05: import org.josql.Query;
06:
07: public class BindVariableChangedEvent extends EventObject {
08:
09: private Query q = null;
10: private String name = null;
11: private Object from = null;
12: private Object to = null;
13:
14: public BindVariableChangedEvent(Query q, String name, Object from,
15: Object to) {
16:
17: super (q);
18:
19: this .q = q;
20: this .name = name;
21: this .from = from;
22: this .to = to;
23:
24: }
25:
26: public Object getTo() {
27:
28: return this .to;
29:
30: }
31:
32: public Object getFrom() {
33:
34: return this .from;
35:
36: }
37:
38: public String getName() {
39:
40: return this .name;
41:
42: }
43:
44: public Query getQuery() {
45:
46: return this.q;
47:
48: }
49:
50: }
|