cug.tables
Class GroepContainerTable
java.lang.Object
|
+--jdbc.AbstractTable
|
+--cug.tables.GroepContainerTable
- public class GroepContainerTable
- extends AbstractTable
Method Summary |
java.lang.String[] |
getColumnNames()
implement in subclass |
java.util.Map |
getMap()
key en value worden als uppercase opgeslagen |
java.lang.String |
getName()
implement in subclass |
void |
insertInto(java.util.Map map)
|
protected void |
insertRec(java.sql.PreparedStatement insertStmt,
java.lang.Object rec)
insert 1 rec using PreparedStatement, call-back for insertInto( Vector )
has to be implemented if user of the table needs to call public insertInto( Vector )
does nothing by default |
Methods inherited from class jdbc.AbstractTable |
contains, get, getAll, getColNamesR, getColumnLengths, getContents, getContentsIt, getContentsMap, getDataSource, getDifference, getKeyField, getKeyString, hasColumnName, insertDifference, insertInto, insertStringRecord, prepareInsertInto, removeAll, selectAll, selectRec, setColPrimaryKey, sqlCreateTable, sqlInsert, sqlPrepareInsertInto, sqlSelectAll, sqlUpdateStringVal, sqlUpdateVal, squote, toString, updateStringFor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GroepContainerTable
public GroepContainerTable(DataSource dsn)
getName
public java.lang.String getName()
- Description copied from class:
AbstractTable
- implement in subclass
- Specified by:
getName
in class AbstractTable
- Returns:
- String name
getColumnNames
public java.lang.String[] getColumnNames()
- Description copied from class:
AbstractTable
- implement in subclass
- Specified by:
getColumnNames
in class AbstractTable
- Returns:
- String[] column names
getMap
public java.util.Map getMap()
throws java.lang.Exception
- key en value worden als uppercase opgeslagen
java.lang.Exception
insertRec
protected void insertRec(java.sql.PreparedStatement insertStmt,
java.lang.Object rec)
throws java.sql.SQLException
- Description copied from class:
AbstractTable
- insert 1 rec using PreparedStatement, call-back for insertInto( Vector )
has to be implemented if user of the table needs to call public insertInto( Vector )
does nothing by default
- Overrides:
insertRec
in class AbstractTable
java.sql.SQLException
- See Also:
AbstractTable.insertInto(java.util.Vector)
insertInto
public void insertInto(java.util.Map map)
throws java.lang.Exception
java.lang.Exception