|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ojb.broker.SequenceManager
A simple SequenceManager. This class is responsible for creating new unique ID's for primary columns containing integer values. The SequenceManager is aware of extends, that is: if you ask for an uid for an Interface with several implementor classes, or a baseclass with several subclasses the returned uid will unique accross all tables representing objects of the extent in question.
Constructor Summary | |
SequenceManager(PersistenceBrokerImpl broker)
Public constructor |
Method Summary | |
int |
getUniqueId(java.lang.Class clazz,
java.lang.String fieldName)
returns a unique int for class clazz and field fieldName. the returned uid is unique accross all tables in the extent of clazz. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public SequenceManager(PersistenceBrokerImpl broker)
Method Detail |
public int getUniqueId(java.lang.Class clazz, java.lang.String fieldName)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |