abstractpublic class AbstractIDGenerator implements IDGenerator(Code)
Abstract superclass for
IDGenerator implementations.
It implements the entire IDGenerator interface.
When nextId is called,
this class sets the LastId property (as well
as returning the value).
Subclasses should override
AbstractIDGenerator.nextIdImpl .
Subclasses should provide an implementation for this method.
This implementation needs only provide the next ID
value (according to it's algorithm).
Setting the LastId property can be left to this class.
the next id generated