Class MigrationChangeReconstructor
- java.lang.Object
-
- org.eclipse.emf.edapt.history.reconstruction.ReconstructorBase
-
- org.eclipse.emf.edapt.history.reconstruction.MigrationChangeReconstructor
-
- All Implemented Interfaces:
IReconstructor
public class MigrationChangeReconstructor extends ReconstructorBase
Reconstructor for the metamodel adaptation code of a certainMigrationChange
.- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Constructor Summary
Constructors Constructor Description MigrationChangeReconstructor(MigrateableChange sourceChange, MigrateableChange targetChange)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endChange(Change originalChange)
Reconstruction of a change is finishedvoid
init(Mapping mapping, MetamodelExtent extent)
Initialization will be called at the very beginning of reconstructionboolean
isConsistent()
Returns consistentBefore.void
startChange(Change originalChange)
Reconstruction of a change starts-
Methods inherited from class org.eclipse.emf.edapt.history.reconstruction.ReconstructorBase
endHistory, endRelease, startHistory, startRelease
-
-
-
-
Constructor Detail
-
MigrationChangeReconstructor
public MigrationChangeReconstructor(MigrateableChange sourceChange, MigrateableChange targetChange)
Constructor
-
-
Method Detail
-
init
public void init(Mapping mapping, MetamodelExtent extent)
Initialization will be called at the very beginning of reconstruction- Specified by:
init
in interfaceIReconstructor
- Overrides:
init
in classReconstructorBase
- Parameters:
mapping
- Mapping from old to new elementsextent
- Extent
-
startChange
public void startChange(Change originalChange)
Reconstruction of a change starts- Specified by:
startChange
in interfaceIReconstructor
- Overrides:
startChange
in classReconstructorBase
- Parameters:
originalChange
- Original change
-
endChange
public void endChange(Change originalChange)
Reconstruction of a change is finished- Specified by:
endChange
in interfaceIReconstructor
- Overrides:
endChange
in classReconstructorBase
- Parameters:
originalChange
- Original release
-
isConsistent
public boolean isConsistent()
Returns consistentBefore.
-
-