|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdGenerator
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
The name of the role for convenience |
| Method Summary | |
|---|---|
java.math.BigDecimal |
getNextBigDecimalId()
Returns the next Id from the pool. |
byte |
getNextByteId()
Returns the next Id from the pool. |
int |
getNextIntegerId()
Returns the next Id from the pool. |
long |
getNextLongId()
Returns the next Id from the pool. |
short |
getNextShortId()
Returns the next Id from the pool. |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
java.math.BigDecimal getNextBigDecimalId()
throws IdException
IdException
long getNextLongId()
throws IdException
java.lang.IllegalStateException - if the next id is outside of the range of valid longs.
IdException
int getNextIntegerId()
throws IdException
java.lang.IllegalStateException - if the next id is outside of the range of valid integers.
IdException
short getNextShortId()
throws IdException
java.lang.IllegalStateException - if the next id is outside of the range of valid shorts.
IdException
byte getNextByteId()
throws IdException
java.lang.IllegalStateException - if the next id is outside of the range of valid bytes.
IdException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||