Class AbstractIdSource
java.lang.Object
org.tentackle.dbms.AbstractIdSource
- All Implemented Interfaces:
IdSource
- Direct Known Subclasses:
ObjectId, ObjectSequenceId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertDbNotRemote(Db db) Assert the correct Db.protected voidassertOneRowAffected(Db db, int rowCount) Asserts that an update affects exactly one row.getName()Gets the name.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IdSource
isLockFree, nextId
-
Constructor Details
-
AbstractIdSource
-
-
Method Details
-
getName
-
toString
-
assertDbNotRemote
-
assertOneRowAffected
Asserts that an update affects exactly one row.- Parameters:
db- the sessionrowCount- the number of rows affected
-