deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io
Class IDGeneratorFactory

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

public class IDGeneratorFactory
extends java.lang.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(java.sql.Connection con, java.lang.String tableName, java.lang.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(java.sql.Connection con,
                                                    java.lang.String tableName,
                                                    java.lang.String fieldName)
                                             throws java.sql.SQLException
Parameters:
con -
tableName -
fieldName -
Returns:
the id generator
Throws:
java.sql.SQLException

deegree 2.5 (2011/06/29 09:44 build-8-official)

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