|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.oid.IDGeneratorFactory
A factory which instantiates IdGenerator implementations.
| Field Summary | |
static java.lang.String[] |
ID_GENERATOR_METHODS
The list of ID generation method types which have associated IdGenerator implementations. |
| Constructor Summary | |
IDGeneratorFactory()
|
|
| Method Summary | |
static IdGenerator |
create(DB dbAdapter)
Factory method which instantiates IdGenerator implementations based on the
return value of the provided adapter's DB.getIDMethodType() method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String[] ID_GENERATOR_METHODS
IdGenerator implementations.
| Constructor Detail |
public IDGeneratorFactory()
| Method Detail |
public static IdGenerator create(DB dbAdapter)
IdGenerator implementations based on the
return value of the provided adapter's DB.getIDMethodType() method.
Returns null for unknown types.
dbAdapter - The type of adapter to create an ID generator for.
null).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||