org.gvsig.tools.undo
Interface UndoRedoInfo

All Known Subinterfaces:
Command
All Known Implementing Classes:
AbstractCommand, CompoundCommand

public interface UndoRedoInfo

Information about a undoable or redoable element.

Author:
Cèsar Ordiñana

Field Summary
static int DELETE
           
static int INSERT
           
static int UPDATE
           
 
Method Summary
 Date getDate()
          Returns a String with the date in which this command was created or redone.
 String getDescription()
          Returns this command description
 int getType()
          Returns the type of action related to data: insertion, deletion or update.
 

Field Detail

DELETE

static final int DELETE
See Also:
Constant Field Values

INSERT

static final int INSERT
See Also:
Constant Field Values

UPDATE

static final int UPDATE
See Also:
Constant Field Values
Method Detail

getDescription

String getDescription()
Returns this command description

Returns:
a String with this command description

getDate

Date getDate()
Returns a String with the date in which this command was created or redone.

Returns:
a String with the date in which this command was created or redone

getType

int getType()
Returns the type of action related to data: insertion, deletion or update.

Returns:
the type of action related to data: insertion, deletion or update


Copyright © 2004-2011 gvSIG. All Rights Reserved.