|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javatools.db.DbSequence
Generates unique values for use as keys. Constructor is not public. Use DbDatabase.getSequence().
| Field Summary | |
(package private) DbDatabase |
db
|
(package private) java.lang.String |
name
|
| Constructor Summary | |
(package private) |
DbSequence(DbDatabase db,
java.lang.String name)
|
| Method Summary | |
int |
next()
|
int |
next(DbConnection dbcon)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DbDatabase db
java.lang.String name
| Constructor Detail |
DbSequence(DbDatabase db,
java.lang.String name)
| Method Detail |
public int next()
throws DbException
DbException
public int next(DbConnection dbcon)
throws DbException
DbException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||