|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.ejb.SystemTimePKGenerator
This class has the ability to generate unique primary keys using the current system time.
| Constructor Summary | |
SystemTimePKGenerator()
|
|
| Method Summary | |
long |
getLong(User caller,
java.lang.Class ejbClass)
Gets a primary key based on the current system time. |
static void |
main(java.lang.String[] args)
Exerciser. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemTimePKGenerator()
| Method Detail |
public long getLong(User caller,
java.lang.Class ejbClass)
getLong in interface IPrimaryKeyGeneratorcaller - the callerejbClass - the class for which the primary key is being
generatedpublic static void main(java.lang.String[] args)
args - none taken
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||