com.hardcode.gdbms.engine.data.db
Class DBSourceCreation

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.AbstractDataSourceCreation
      extended by com.hardcode.gdbms.engine.data.db.DBSourceCreation
All Implemented Interfaces:
DataSourceCreation

public class DBSourceCreation
extends AbstractDataSourceCreation
implements DataSourceCreation


Constructor Summary
DBSourceCreation(java.lang.String driverName, DBSource source, DriverMetadata dmd)
          Builds a new DBSourceCreation
 
Method Summary
 void create()
          Creates the source
 
Methods inherited from class com.hardcode.gdbms.engine.data.AbstractDataSourceCreation
getDataSourceFactory, setDataSourceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hardcode.gdbms.engine.data.DataSourceCreation
setDataSourceFactory
 

Constructor Detail

DBSourceCreation

public DBSourceCreation(java.lang.String driverName,
                        DBSource source,
                        DriverMetadata dmd)
Builds a new DBSourceCreation

Parameters:
driverName - Name of the driver to be used to create the source
source - information about the table to be created
dmd - Information about the schema of the new source. If the driver is a spatial one, this parameter must be a SpatialDriverMetadata implementation
Method Detail

create

public void create()
            throws DriverException
Description copied from interface: DataSourceCreation
Creates the source

Specified by:
create in interface DataSourceCreation
Throws:
DriverException - if the source creation fails


Copyright © 2005-2006 . All Rights Reserved.