|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a source of identifier Objects.
Field Summary | |
static java.lang.String |
ROLE
|
Method Summary | |
boolean |
checkSetUp()
make sure the backing storage is set up correctly |
java.io.Serializable |
createID()
Return a new identifier Object. |
java.io.Serializable |
peekNextID()
Returns the next id to be created, without assigning it as in use. |
void |
setUp()
set up the backing storage |
void |
tearDown()
clean up the backing storage |
Field Detail |
public static final java.lang.String ROLE
Method Detail |
public java.io.Serializable createID()
IdentifierUnavailableException
- if the IdentifierSource can't get a new unique Object.LastIdentifierUsedException
- if the IdentifierSource is completely out of unique Objects.public java.io.Serializable peekNextID()
public boolean checkSetUp()
PersistenceFailureException
public void setUp()
PersistenceFailureException
public void tearDown()
PersistenceFailureException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |