Class FeatureInsertCommand
java.lang.Object
org.gvsig.tools.undo.command.impl.AbstractCommand
org.gvsig.fmap.dal.feature.impl.undo.command.AbstractFeatureCommand
org.gvsig.fmap.dal.feature.impl.undo.command.FeatureInsertCommand
- All Implemented Interfaces:
org.gvsig.tools.undo.command.Command,org.gvsig.tools.undo.UndoRedoInfo
DOCUMENT ME!
- Author:
- Vicente Caballero Navarro
-
Field Summary
Fields inherited from class org.gvsig.fmap.dal.feature.impl.undo.command.AbstractFeatureCommand
feature, featureStoreFields inherited from interface org.gvsig.tools.undo.UndoRedoInfo
DELETE, INSERT, UPDATE -
Constructor Summary
ConstructorsConstructorDescriptionFeatureInsertCommand(DefaultFeatureStore featureStore, org.gvsig.fmap.dal.feature.EditableFeature feature, String description) -
Method Summary
Methods inherited from class org.gvsig.fmap.dal.feature.impl.undo.command.AbstractFeatureCommand
redoMethods inherited from class org.gvsig.tools.undo.command.impl.AbstractCommand
getDate, getDescription, toString, updateDate
-
Constructor Details
-
FeatureInsertCommand
public FeatureInsertCommand(DefaultFeatureStore featureStore, org.gvsig.fmap.dal.feature.EditableFeature feature, String description)
-
-
Method Details
-
getFeature
public org.gvsig.fmap.dal.feature.EditableFeature getFeature()Description copied from class:AbstractFeatureCommandReturns the Feature of this command.- Overrides:
getFeaturein classAbstractFeatureCommand- Returns:
- Feature.
-
undo
public void undo() throws org.gvsig.tools.undo.UndoException- Throws:
org.gvsig.tools.undo.UndoException
-
getType
public int getType()- Specified by:
getTypein interfaceorg.gvsig.tools.undo.UndoRedoInfo- Overrides:
getTypein classAbstractFeatureCommand
-
execute
public void execute() throws org.gvsig.fmap.dal.exception.DataException- Specified by:
executein classAbstractFeatureCommand- Throws:
org.gvsig.fmap.dal.exception.DataException
-