001: /*
002: * Copyright (C) 2006 Rob Manning
003: * manningr@users.sourceforge.net
004: *
005: * This library is free software; you can redistribute it and/or
006: * modify it under the terms of the GNU Lesser General Public
007: * License as published by the Free Software Foundation; either
008: * version 2.1 of the License, or (at your option) any later version.
009: *
010: * This library is distributed in the hope that it will be useful,
011: * but WITHOUT ANY WARRANTY; without even the implied warranty of
012: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013: * Lesser General Public License for more details.
014: *
015: * You should have received a copy of the GNU Lesser General Public
016: * License along with this library; if not, write to the Free Software
017: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
018: */
019: package net.sourceforge.squirrel_sql.fw.sql;
020:
021: import java.beans.PropertyChangeListener;
022:
023: import net.sourceforge.squirrel_sql.fw.id.IIdentifier;
024: import net.sourceforge.squirrel_sql.fw.persist.ValidationException;
025: import net.sourceforge.squirrel_sql.client.gui.db.ISQLAliasExt;
026: import net.sourceforge.squirrel_sql.client.gui.db.SQLAliasSchemaProperties;
027:
028: public class MockSQLAlias implements ISQLAliasExt {
029:
030: @SuppressWarnings("unused")
031: public void assignFrom(ISQLAlias rhs) throws ValidationException {
032: // TODO Auto-generated method stub
033:
034: }
035:
036: public int compareTo(Object rhs) {
037: // TODO Auto-generated method stub
038: return 0;
039: }
040:
041: public String getName() {
042: // TODO Auto-generated method stub
043: return null;
044: }
045:
046: public void setName(String name) throws ValidationException {
047: // TODO Auto-generated method stub
048:
049: }
050:
051: public IIdentifier getDriverIdentifier() {
052: // TODO Auto-generated method stub
053: return null;
054: }
055:
056: public void setDriverIdentifier(IIdentifier data)
057: throws ValidationException {
058: // TODO Auto-generated method stub
059:
060: }
061:
062: public String getUrl() {
063: // TODO Auto-generated method stub
064: return null;
065: }
066:
067: public void setUrl(String url) throws ValidationException {
068: // TODO Auto-generated method stub
069:
070: }
071:
072: public String getUserName() {
073: // TODO Auto-generated method stub
074: return null;
075: }
076:
077: public void setUserName(String userName) throws ValidationException {
078: // TODO Auto-generated method stub
079:
080: }
081:
082: public String getPassword() {
083: // TODO Auto-generated method stub
084: return null;
085: }
086:
087: public void setPassword(String password) throws ValidationException {
088: // TODO Auto-generated method stub
089:
090: }
091:
092: public boolean isAutoLogon() {
093: // TODO Auto-generated method stub
094: return false;
095: }
096:
097: public void setAutoLogon(boolean value) {
098: // TODO Auto-generated method stub
099:
100: }
101:
102: public boolean isConnectAtStartup() {
103: // TODO Auto-generated method stub
104: return false;
105: }
106:
107: public void setConnectAtStartup(boolean value) {
108: // TODO Auto-generated method stub
109:
110: }
111:
112: public boolean getUseDriverProperties() {
113: // TODO Auto-generated method stub
114: return false;
115: }
116:
117: public void setUseDriverProperties(boolean value) {
118: // TODO Auto-generated method stub
119:
120: }
121:
122: public SQLDriverPropertyCollection getDriverProperties() {
123: // TODO Auto-generated method stub
124: return null;
125: }
126:
127: public void setDriverProperties(SQLDriverPropertyCollection value) {
128: // TODO Auto-generated method stub
129:
130: }
131:
132: public void addPropertyChangeListener(
133: PropertyChangeListener listener) {
134: // TODO Auto-generated method stub
135:
136: }
137:
138: public void removePropertyChangeListener(
139: PropertyChangeListener listener) {
140: // TODO Auto-generated method stub
141:
142: }
143:
144: public IIdentifier getIdentifier() {
145: // TODO Auto-generated method stub
146: return null;
147: }
148:
149: public boolean isValid() {
150: // TODO Auto-generated method stub
151: return false;
152: }
153:
154: public SQLDriverPropertyCollection getDriverPropertiesClone() {
155: return null; //To change body of implemented methods use File | Settings | File Templates.
156: }
157:
158: public SQLAliasSchemaProperties getSchemaProperties() {
159: return null; //To change body of implemented methods use File | Settings | File Templates.
160: }
161:
162: public void setSchemaProperties(
163: SQLAliasSchemaProperties schemaProperties) {
164: //To change body of implemented methods use File | Settings | File Templates.
165: }
166: }
|