|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.locomotive.loco.store.id.LocoId
| Field Summary | |
protected static LocoId |
instance
|
static int |
LOCO_BSTAMP
|
static int |
LOCO_SESSIONS
|
static int |
LOCO_USERS
|
| Constructor Summary | |
LocoId()
|
|
| Method Summary | |
static LocoId |
getInstance()
|
java.math.BigInteger |
getNextId(int type,
java.sql.Connection con)
|
protected abstract java.math.BigInteger |
getNextIdFromDatabase(int type,
int increment,
java.sql.Connection con)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final int LOCO_SESSIONS
public static final int LOCO_USERS
public static final int LOCO_BSTAMP
protected static LocoId instance
| Constructor Detail |
public LocoId()
| Method Detail |
public static final LocoId getInstance()
throws IdException
public final java.math.BigInteger getNextId(int type,
java.sql.Connection con)
throws IdException
protected abstract java.math.BigInteger getNextIdFromDatabase(int type,
int increment,
java.sql.Connection con)
throws IdException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||