|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.common.util.UniqueIdGenerator
Title: OpenMobileIS project source
Description: Generate an unique id for the PDA based on the current time.
ID is not unique between several PDA. To have an unique id between PDA, use the method
getNewStringID that add the userid to the generated long id.
userid is get from SessionContext.
Constructor Summary | |
UniqueIdGenerator()
Creates a new instance of UniqueIdGenerator |
Method Summary | |
static UniqueIdGenerator |
getManager()
|
long |
getNewID()
|
java.lang.String |
getNewStringID()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UniqueIdGenerator()
Method Detail |
public static UniqueIdGenerator getManager()
public long getNewID()
public java.lang.String getNewStringID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |