KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > josql > events > BindVariableChangedEvent


1 package org.josql.events;
2
3 import java.util.EventObject JavaDoc;
4
5 import org.josql.Query;
6
7 public class BindVariableChangedEvent extends EventObject JavaDoc
8 {
9
10     private Query q = null;
11     private String JavaDoc name = null;
12     private Object JavaDoc from = null;
13     private Object JavaDoc to = null;
14
15     public BindVariableChangedEvent (Query q,
16                      String JavaDoc name,
17                      Object JavaDoc from,
18                      Object JavaDoc to)
19     {
20
21     super (q);
22
23     this.q = q;
24     this.name = name;
25     this.from = from;
26     this.to = to;
27
28     }
29
30     public Object JavaDoc getTo ()
31     {
32
33     return this.to;
34
35     }
36
37     public Object JavaDoc getFrom ()
38     {
39
40     return this.from;
41
42     }
43
44     public String JavaDoc getName ()
45     {
46
47     return this.name;
48
49     }
50
51     public Query getQuery ()
52     {
53
54     return this.q;
55
56     }
57
58 }
Popular Tags