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

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

public class NoEditionInfo
extends java.lang.Object
implements EditionInfo


Constructor Summary
NoEditionInfo(ValueCollection pk, int index)
          Indicates that no edition was done at the record
 
Method Summary
 int getIndex()
           
 ValueCollection getPk()
           
 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

NoEditionInfo

public NoEditionInfo(ValueCollection pk,
                     int index)
Indicates that no edition was done at the record

Parameters:
pk - Original primary key value
index - Index in the original source
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

getPk

public ValueCollection getPk()

getIndex

public int getIndex()


Copyright © 2005-2006 . All Rights Reserved.