1 19 20 package org.netbeans.lib.ddl; 21 22 import java.sql.Connection ; 23 24 34 35 public interface DBConnection extends java.io.Serializable 36 { 37 38 public String getDriver(); 39 40 44 public void setDriver(String driver); 45 46 47 public String getDatabase(); 48 49 53 public void setDatabase(String database); 54 55 56 public String getUser(); 57 58 62 public void setUser(String user); 63 64 65 public String getSchema(); 66 67 71 public void setSchema(String schema); 72 73 74 public String getName(); 75 76 80 public void setName(String name); 81 82 83 public String getDriverName(); 84 85 89 public void setDriverName(String name); 90 91 92 public boolean rememberPassword(); 93 94 97 public void setRememberPassword(boolean flag); 98 99 100 public String getPassword(); 101 102 106 public void setPassword(String password); 107 108 113 public Connection createJDBCConnection() throws DDLException; 114 } 115 | Popular Tags |