com.danieleturi.sql
Class TableEntry
java.lang.Object
|
+--com.danieleturi.sql.TableEntry
- All Implemented Interfaces:
- Persistent
- Direct Known Subclasses:
- DatedTableEntry
- public abstract class TableEntry
- extends Object
- implements Persistent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableEntry
public TableEntry(String tableName,
String db,
String user,
String pwd)
throws SQLException
TableEntry
public TableEntry(String tableName,
DBInterface dbInterface)
getTableName
public String getTableName()
setTableName
public void setTableName(String v)
getDbInterface
public DBInterface getDbInterface()
setDbInterface
public void setDbInterface(DBInterface v)
select
public ResultSet select()
throws SQLException
SQLException
remove
public void remove(String table,
String where)
throws SQLException
SQLException
remove
public void remove()
throws SQLException
- Specified by:
remove
in interface Persistent
SQLException
getPkString
public abstract String getPkString()