franta-hg@171: /** franta-hg@171: * SQL-DK franta-hg@171: * Copyright © 2014 František Kučera (frantovo.cz) franta-hg@171: * franta-hg@171: * This program is free software: you can redistribute it and/or modify franta-hg@171: * it under the terms of the GNU General Public License as published by franta-hg@171: * the Free Software Foundation, either version 3 of the License, or franta-hg@171: * (at your option) any later version. franta-hg@171: * franta-hg@171: * This program is distributed in the hope that it will be useful, franta-hg@171: * but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@171: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@171: * GNU General Public License for more details. franta-hg@171: * franta-hg@171: * You should have received a copy of the GNU General Public License franta-hg@171: * along with this program. If not, see . franta-hg@171: */ franta-hg@171: package info.globalcode.jdbc.loopback; franta-hg@171: franta-hg@171: /** franta-hg@171: * franta-hg@171: * @author Ing. František Kučera (frantovo.cz) franta-hg@171: */ franta-hg@171: public class ObjectParameter { franta-hg@171: franta-hg@171: private final Object data; franta-hg@171: private final int targetSqlType; franta-hg@171: franta-hg@171: public ObjectParameter(Object data, int targetSqlType) { franta-hg@171: this.data = data; franta-hg@171: this.targetSqlType = targetSqlType; franta-hg@171: } franta-hg@171: franta-hg@171: public Object getData() { franta-hg@171: return data; franta-hg@171: } franta-hg@171: franta-hg@171: public int getTargetSqlType() { franta-hg@171: return targetSqlType; franta-hg@171: } franta-hg@171: }