|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jdbc.AbstractTable | +--cug.ptree.PTreeMemberTable
Field Summary |
Fields inherited from class jdbc.AbstractTable |
colNamesR, contents, contentsMap, createID, dbname, defaultFieldLength, ix_primaryKey |
Constructor Summary | |
PTreeMemberTable(DataSource dsn)
|
Method Summary | |
java.lang.String[] |
getColumnNames()
implement in subclass |
java.lang.String |
getName()
implement in subclass |
void |
insertRec(java.sql.PreparedStatement insertStmt,
java.lang.Object val)
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 |
java.lang.Object |
selectRec(java.sql.ResultSet result)
assemble 1 Object based on 1 ResultSet item has to be implemented if client needs to use public Vector get( String sqlStatement ) returns null if not overridden in subclass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PTreeMemberTable(DataSource dsn)
Method Detail |
public java.lang.String getName()
AbstractTable
getName
in class AbstractTable
public java.lang.String[] getColumnNames()
AbstractTable
getColumnNames
in class AbstractTable
public void insertRec(java.sql.PreparedStatement insertStmt, java.lang.Object val) throws java.sql.SQLException
AbstractTable
insertRec
in class AbstractTable
java.sql.SQLException
AbstractTable.insertInto(java.util.Vector)
public java.lang.Object selectRec(java.sql.ResultSet result) throws java.sql.SQLException
AbstractTable
selectRec
in class AbstractTable
java.sql.SQLException
AbstractTable.getAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |