com.hardcode.gdbms.engine.data.command
Class ModifyCommand

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.command.AbstractCommand
      extended by com.hardcode.gdbms.engine.data.command.ModifyCommand
All Implemented Interfaces:
Command

public class ModifyCommand
extends AbstractCommand
implements Command


Field Summary
 
Fields inherited from class com.hardcode.gdbms.engine.data.command.AbstractCommand
commandStack, dataSource, index
 
Constructor Summary
ModifyCommand(int index, EditableDataSource dataSource, Value oldValue, Value newValue, int fieldIndex, CommandStack cs)
           
 
Method Summary
 void redo()
           
 void undo()
           
 
Methods inherited from class com.hardcode.gdbms.engine.data.command.AbstractCommand
getIndex, setIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyCommand

public ModifyCommand(int index,
                     EditableDataSource dataSource,
                     Value oldValue,
                     Value newValue,
                     int fieldIndex,
                     CommandStack cs)
Method Detail

redo

public void redo()
          throws DriverException
Specified by:
redo in interface Command
Throws:
DriverException

undo

public void undo()
          throws DriverException
Specified by:
undo in interface Command
Throws:
DriverException


Copyright © 2005-2006 . All Rights Reserved.