From aa760d56ea6e3034c0874bb8706d8cc1444ef391 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 4 Sep 2015 16:53:20 +0200 Subject: [PATCH] =?utf8?q?Also=20this=20came=20from=20old=20TDGP=20times?= =?utf8?q?=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../manager/database/ManageableDatabase.java | 71 ------------------- 1 file changed, 71 deletions(-) delete mode 100644 src/org/mxchange/jcore/manager/database/ManageableDatabase.java diff --git a/src/org/mxchange/jcore/manager/database/ManageableDatabase.java b/src/org/mxchange/jcore/manager/database/ManageableDatabase.java deleted file mode 100644 index d2111e3..0000000 --- a/src/org/mxchange/jcore/manager/database/ManageableDatabase.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2015 Roland Haeder - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.jcore.manager.database; - -import java.io.IOException; -import java.lang.reflect.InvocationTargetException; -import org.mxchange.jcore.manager.Manageable; - -/** - * An interface for managers deligating calls to a database frontend - * @author Roland Haeder - */ -public interface ManageableDatabase extends Manageable { - - /** - * Getter for size - * - * @return size of contact "book" - * @throws java.io.IOException If an IO error occurs - */ - public int size () throws IOException; - - /** - * Getter for column name at given index. - * - * @param columnIndex Column index - * @return Database column name - */ - public String getColumnName (final int columnIndex); - - /** - * Getter for translated column name at given index. - * - * @param columnIndex Column index - * @return Human-readable column name - */ - public String getTranslatedColumnName (int columnIndex); - - /** - * Somewhat "getter" for value from given row and column index - * - * @param rowIndex Row index - * @param columnIndex Column index - * @return Value from given row/column - * @throws java.lang.NoSuchMethodException If a non-existing method should be invoked - * @throws java.lang.IllegalAccessException If the method cannot be accessed - * @throws java.lang.reflect.InvocationTargetException Something other happened? - */ - public Object getValueFromRowColumn (final int rowIndex, final int columnIndex) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException; - - /** - * Getter for column count - * - * @return Column count - */ - public int getColumnCount (); -} -- 2.39.5