org.locomotive.loco.store.id
Class LocoId
java.lang.Object
|
+--org.locomotive.loco.store.id.LocoId
- Direct Known Subclasses:
- LocoIdJdbc
- public abstract class LocoId
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LOCO_SESSIONS
public static final int LOCO_SESSIONS
LOCO_USERS
public static final int LOCO_USERS
LOCO_BSTAMP
public static final int LOCO_BSTAMP
instance
protected static LocoId instance
LocoId
public LocoId()
getInstance
public static final LocoId getInstance()
throws IdException
getNextId
public final java.math.BigInteger getNextId(int type,
java.sql.Connection con)
throws IdException
getNextIdFromDatabase
protected abstract java.math.BigInteger getNextIdFromDatabase(int type,
int increment,
java.sql.Connection con)
throws IdException