com.hardcode.gdbms.engine.data.edition
Class DeleteEditionInfo

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.edition.DeleteEditionInfo
All Implemented Interfaces:
EditionInfo

public class DeleteEditionInfo
extends java.lang.Object
implements EditionInfo


Constructor Summary
DeleteEditionInfo(ValueCollection pk, java.lang.String[] pkNames, java.lang.String tableName, DBDriver driver)
          Creates a new DeleteEditionInfo
 
Method Summary
 java.lang.String getSQL()
          Gets the SQL to modify the data source or null if the data source does not have to be modified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteEditionInfo

public DeleteEditionInfo(ValueCollection pk,
                         java.lang.String[] pkNames,
                         java.lang.String tableName,
                         DBDriver driver)
Creates a new DeleteEditionInfo

Parameters:
pk - Original primary key of the object to be removed
pkNames - Names of the primary key fields
tableName - Name of the table being edited
driver - driver used to edit
Method Detail

getSQL

public java.lang.String getSQL()
                        throws DriverException
Description copied from interface: EditionInfo
Gets the SQL to modify the data source or null if the data source does not have to be modified

Specified by:
getSQL in interface EditionInfo
Returns:
SQL statement or null
Throws:
DriverException - if cannot get the SQL statement


Copyright © 2005-2006 . All Rights Reserved.