1 21 22 package org.dbunit.ant; 23 24 32 public class Query 33 { 34 35 private String name; 36 private String sql; 37 38 public Query() 39 { 40 } 41 42 public String getName() 43 { 44 return name; 45 } 46 47 public void setName(String name) 48 { 49 this.name = name; 50 } 51 52 53 public String toString() 54 { 55 StringBuffer result = new StringBuffer (); 56 result.append("Query: "); 57 result.append(" name=" + name); 58 result.append(" sql=" + sql); 59 60 61 return result.toString(); 62 } 63 64 public String getSql() 65 { 66 return sql; 67 } 68 69 public void setSql(String sql) 70 { 71 this.sql = sql; 72 } 73 } 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | Popular Tags |