Package org.apache.torque.oid
Klasse IDGeneratorFactory
java.lang.Object
org.apache.torque.oid.IDGeneratorFactory
A factory which instantiates
IdGenerator implementations.- Version:
- $Id: IDGeneratorFactory.java 1850965 2019-01-10 17:21:29Z painter $
- Autor:
- Daniel Rall
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungThe list of ID generation method types which have associatedIdGeneratorimplementations. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic IdGeneratorFactory method which instantiatesIdGeneratorimplementations based on the return value of the provided adapter'sAdapter.getIDMethodType()method.
-
Felddetails
-
ID_GENERATOR_METHODS
The list of ID generation method types which have associatedIdGeneratorimplementations.
-
-
Methodendetails
-
create
Factory method which instantiatesIdGeneratorimplementations based on the return value of the provided adapter'sAdapter.getIDMethodType()method. Returnsnullfor unknown types.- Parameter:
adapter- The type of adapter to create an ID generator for.name- name of the adapter- Gibt zurück:
- The appropriate ID generator (possibly
null).
-