// Path: domsql/eclipse/plugins/com.ibm.domino.domsql.driver/src/com/ibm/domino/domsql/remote/transport/IParameterMetaData.java
// public interface IParameterMetaData extends IRemoteObject {
// 
// 	public String getParameterClassName(int paramIndex) throws SQLException, RemoteException;
// 	public int getParameterCount() throws SQLException, RemoteException;
// 	public int getParameterMode(int paramIndex) throws SQLException, RemoteException;
// 	public int getParameterType(int paramIndex) throws SQLException, RemoteException;
// 	public String getParameterTypeName(int paramIndex) throws SQLException, RemoteException;
// 	public int getPrecision(int paramIndex) throws SQLException, RemoteException;
// 	public int getScale(int paramIndex) throws SQLException, RemoteException;
// 	public int isNullable(int paramIndex) throws SQLException, RemoteException;
// 	public boolean isSigned(int paramIndex) throws SQLException, RemoteException;
// }
// 
// Path: domsql/eclipse/plugins/com.ibm.domino.domsql.sqlite/src/com/ibm/domino/domsql/sqlite/driver/jdbc/DomSQLParameterMetaData.java
// public class DomSQLParameterMetaData extends DomSQLObject implements ParameterMetaData {
// 
//     private DomSQLPreparedStatement statement;
// 
//     DomSQLParameterMetaData(DomSQLPreparedStatement statement) {
//         this.statement = statement;
//     }
// 
// 	@Override
// 	protected DomSQLConnection getConnection() {
// 		return statement.getConnection();
// 	}
// 
// 	public <T> T unwrap(Class<T> iface) throws SQLException {
// 		// TODO Auto-generated method stub
// 		return null;
// 	}
// 
// 	public boolean isWrapperFor(Class<?> iface) throws SQLException {
// 		// TODO Auto-generated method stub
// 		return false;
// 	}
// 
//     
//     public int getParameterCount() throws SQLException {
//         statement.checkStatementOpen();
//         return statement.getParameters().length;
//     }
// 
//     public String getParameterClassName(int param) throws SQLException {
//     	statement.checkStatementOpen();
//         return "java.lang.String";
//     }
// 
//     public String getParameterTypeName(int pos) {
//         return "VARCHAR";
//     }
// 
//     public int getParameterType(int pos) {
//         return Types.VARCHAR;
//     }
// 
//     public int getParameterMode(int pos) {
//         return parameterModeIn;
//     }
// 
//     public int getPrecision(int pos) {
//         return 0;
//     }
// 
//     public int getScale(int pos) {
//         return 0;
//     }
// 
//     public int isNullable(int pos) {
//         return parameterNullable;
//     }
// 
//     public boolean isSigned(int pos) {
//         return true;
//     }
// }


import java.rmi.RemoteException;
import java.sql.SQLException;
import com.ibm.domino.domsql.remote.transport.IParameterMetaData;
import com.ibm.domino.domsql.sqlite.driver.jdbc.DomSQLParameterMetaData;

/*
 * © Copyright IBM Corp. 2010
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); } finally { termContext(); } 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at:
 * 
 * http://www.apache.org/licenses/LICENSE-2.0 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
 * implied. See the License for the specific language governing 
 * permissions and limitations under the License.
 */
package com.ibm.domino.domsql.remote.server;



public class ServerParameterMetaData extends ServerObject implements IParameterMetaData {

	private static final long serialVersionUID = 1L;
	

// Path: domsql/eclipse/plugins/com.ibm.domino.domsql.driver/src/com/ibm/domino/domsql/remote/transport/IParameterMetaData.java
// public interface IParameterMetaData extends IRemoteObject {
// 
// 	public String getParameterClassName(int paramIndex) throws SQLException, RemoteException;
// 	public int getParameterCount() throws SQLException, RemoteException;
// 	public int getParameterMode(int paramIndex) throws SQLException, RemoteException;
// 	public int getParameterType(int paramIndex) throws SQLException, RemoteException;
// 	public String getParameterTypeName(int paramIndex) throws SQLException, RemoteException;
// 	public int getPrecision(int paramIndex) throws SQLException, RemoteException;
// 	public int getScale(int paramIndex) throws SQLException, RemoteException;
// 	public int isNullable(int paramIndex) throws SQLException, RemoteException;
// 	public boolean isSigned(int paramIndex) throws SQLException, RemoteException;
// }
// 
// Path: domsql/eclipse/plugins/com.ibm.domino.domsql.sqlite/src/com/ibm/domino/domsql/sqlite/driver/jdbc/DomSQLParameterMetaData.java
// public class DomSQLParameterMetaData extends DomSQLObject implements ParameterMetaData {
// 
//     private DomSQLPreparedStatement statement;
// 
//     DomSQLParameterMetaData(DomSQLPreparedStatement statement) {
//         this.statement = statement;
//     }
// 
// 	@Override
// 	protected DomSQLConnection getConnection() {
// 		return statement.getConnection();
// 	}
// 
// 	public <T> T unwrap(Class<T> iface) throws SQLException {
// 		// TODO Auto-generated method stub
// 		return null;
// 	}
// 
// 	public boolean isWrapperFor(Class<?> iface) throws SQLException {
// 		// TODO Auto-generated method stub
// 		return false;
// 	}
// 
//     
//     public int getParameterCount() throws SQLException {
//         statement.checkStatementOpen();
//         return statement.getParameters().length;
//     }
// 
//     public String getParameterClassName(int param) throws SQLException {
//     	statement.checkStatementOpen();
//         return "java.lang.String";
//     }
// 
//     public String getParameterTypeName(int pos) {
//         return "VARCHAR";
//     }
// 
//     public int getParameterType(int pos) {
//         return Types.VARCHAR;
//     }
// 
//     public int getParameterMode(int pos) {
//         return parameterModeIn;
//     }
// 
//     public int getPrecision(int pos) {
//         return 0;
//     }
// 
//     public int getScale(int pos) {
//         return 0;
//     }
// 
//     public int isNullable(int pos) {
//         return parameterNullable;
//     }
// 
//     public boolean isSigned(int pos) {
//         return true;
//     }
// }


// Path: domsql/eclipse/plugins/com.ibm.domino.domsql.sqlite/src/com/ibm/domino/domsql/remote/server/ServerParameterMetaData.java
import java.rmi.RemoteException;
import java.sql.SQLException;
import com.ibm.domino.domsql.remote.transport.IParameterMetaData;
import com.ibm.domino.domsql.sqlite.driver.jdbc.DomSQLParameterMetaData;

/*
 * © Copyright IBM Corp. 2010
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); } finally { termContext(); } 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at:
 * 
 * http://www.apache.org/licenses/LICENSE-2.0 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
 * implied. See the License for the specific language governing 
 * permissions and limitations under the License.
 */
package com.ibm.domino.domsql.remote.server;



public class ServerParameterMetaData extends ServerObject implements IParameterMetaData {

	private static final long serialVersionUID = 1L;
	

    private DomSQLParameterMetaData metaData;
