deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.io
Class IDGeneratorFactory

java.lang.Object
  extended by org.deegree.io.IDGeneratorFactory

public class IDGeneratorFactory
extends Object

Factory for IDGenerator-instances. The generated instance is suitable for the database used and for the configuration (i.e. table and field type).

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Markus Schneider

Constructor Summary
IDGeneratorFactory()
           
 
Method Summary
static DataBaseIDGenerator createIDGenerator(Connection con, String tableName, String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDGeneratorFactory

public IDGeneratorFactory()
Method Detail

createIDGenerator

public static DataBaseIDGenerator createIDGenerator(Connection con,
                                                    String tableName,
                                                    String fieldName)
                                             throws SQLException
Parameters:
con -
tableName -
fieldName -
Returns:
the id generator
Throws:
SQLException

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org