public abstract class AbstractIdSource extends Object implements IdSource
| Constructor and Description |
|---|
AbstractIdSource(String name)
Creates an idsource.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertDbNotRemote(Db db)
Assert the correct Db.
|
protected void |
assertOneRowAffected(Db db,
int rowCount)
Asserts that exactly one row is affected by an update.
|
String |
getName()
Gets the name.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisLockFree, nextIdpublic AbstractIdSource(String name)
name - the namepublic String getName()
protected void assertDbNotRemote(Db db)
db - the dbprotected void assertOneRowAffected(Db db, int rowCount)
db - the sessionrowCount - the number of rows affectedCopyright © 2016 Krake Softwaretechnik. All rights reserved.