|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDGenerator
Interface allowing pluggable ID attribute value generators.
IDGenerator's are used to generate ID
attribute values by BeanWriter.
A user can specify the generation mechanism by passing an implementation to
AbstractBeanWriter.setIdGenerator(org.apache.commons.betwixt.io.IDGenerator).
Standard implementations are included with that supply random and sequantial values.
| Method Summary | |
|---|---|
java.lang.String |
getLastId()
Get the last ID value generated. |
java.lang.String |
nextId()
Generate a new ID attribute value. |
| Method Detail |
|---|
java.lang.String getLastId()
ID value generated.
java.lang.String nextId()
ID attribute value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||