com.hardcode.gdbms.engine.data.edition
Class EditionEvent
java.lang.Object
com.hardcode.gdbms.engine.data.GDBMSEvent
com.hardcode.gdbms.engine.data.edition.FieldEditionEvent
com.hardcode.gdbms.engine.data.edition.EditionEvent
public class EditionEvent
- extends FieldEditionEvent
This class stores information about the change in the contents
of a DataSource. It stores the row index where the change was made
and which the action done was. If the type is
MODIFY then rowIndex and field index store where the modification was done. If
the type is DELETE or INSERT then fieldIndex is set to -1
- Author:
- Fernando González Cortés
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODIFY
public static final int MODIFY
- See Also:
- Constant Field Values
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
INSERT
public static final int INSERT
- See Also:
- Constant Field Values
EditionEvent
public EditionEvent(long rowIndex,
int fieldIndex,
int type,
DataSource ds,
boolean undoRedo)
getRowIndex
public long getRowIndex()
getType
public int getType()
isUndoRedo
public boolean isUndoRedo()
Copyright © 2005-2006 . All Rights Reserved.