1 package org.josql.events; 2 3 import java.util.EventObject ; 4 5 import org.josql.Query; 6 7 public class BindVariableChangedEvent extends EventObject 8 { 9 10 private Query q = null; 11 private String name = null; 12 private Object from = null; 13 private Object to = null; 14 15 public BindVariableChangedEvent (Query q, 16 String name, 17 Object from, 18 Object 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 getTo () 31 { 32 33 return this.to; 34 35 } 36 37 public Object getFrom () 38 { 39 40 return this.from; 41 42 } 43 44 public String 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 |