Class Evolution
- java.lang.Object
-
- org.openjump.core.ui.plugin.datastore.transaction.Evolution
-
public class Evolution extends Object
A Feature Evolution. It keeps a clone of the previous state of the feature ( null for a creation) and the new state of the feature (null for a suppression).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvolution.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvolutioncreateCreation(Feature feature)static EvolutioncreateModification(Feature feature, Feature old)static EvolutioncreateSuppression(Feature feature)FeaturegetNewFeature()FeaturegetOldFeature()Evolution.TypegetType()EvolutionmergeToPrevious(Evolution previous)StringtoString()
-
-
-
Method Detail
-
getOldFeature
public Feature getOldFeature()
-
getNewFeature
public Feature getNewFeature()
-
getType
public Evolution.Type getType()
-
mergeToPrevious
public Evolution mergeToPrevious(Evolution previous) throws EvolutionOperationException
- Throws:
EvolutionOperationException
-
-