|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
I - id type parameterpublic interface DbAccessible<I>
Interface for database mapped elements.
| Method Summary | |
|---|---|
boolean |
delete(java.sql.Connection connection)
Deletes this element. |
I |
getId()
Returns id. |
java.lang.String |
getIdColumnName()
Return id column name. |
int |
getIdType()
Returns the type of id. |
java.lang.String |
getTableName()
Returns table name. |
boolean |
insert(java.sql.Connection connection)
Inserts this element. |
void |
read(java.sql.ResultSet resultSet)
Reads information from given resultSet. |
void |
read(java.sql.ResultSet resultSet,
java.lang.String columnLabelPrefix)
Reads information from given resultSet. |
boolean |
select(java.sql.Connection connection)
Selects this instance. |
void |
setId(I id)
Sets id. |
boolean |
update(java.sql.Connection connection)
Updates this instance. |
| Method Detail |
|---|
I getId()
void setId(I id)
id - idint getIdType()
java.lang.String getTableName()
java.lang.String getIdColumnName()
boolean delete(java.sql.Connection connection)
throws java.sql.SQLException
connection - connection
java.sql.SQLException - if an SQL error occurs.
boolean insert(java.sql.Connection connection)
throws java.sql.SQLException
connection - connection
java.sql.SQLException - if an SQL error occurs.
boolean select(java.sql.Connection connection)
throws java.sql.SQLException
connection - connection
java.sql.SQLException - if an SQL error occurs.
boolean update(java.sql.Connection connection)
throws java.sql.SQLException
connection - connection
java.sql.SQLException - if an SQL error occurs.
void read(java.sql.ResultSet resultSet)
throws java.sql.SQLException
resultSet.
resultSet - result set
java.sql.SQLException - if an SQL error occurs.
void read(java.sql.ResultSet resultSet,
java.lang.String columnLabelPrefix)
throws java.sql.SQLException
resultSet.
resultSet - result setcolumnLabelPrefix - column label prefix
java.sql.SQLException - if an SQL error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||