org.eclipse.emf.henshin.interpreter
Interface Change

All Known Subinterfaces:
Change.AttributeChange, Change.CompoundChange, Change.IndexChange, Change.ObjectChange, Change.ReferenceChange
All Known Implementing Classes:
ChangeImpl, ChangeImpl.AttributeChangeImpl, ChangeImpl.CompoundChangeImpl, ChangeImpl.IndexChangeImpl, ChangeImpl.ObjectChangeImpl, ChangeImpl.ReferenceChangeImpl

public interface Change

Change model for Henshin. Stores information about changes and provides functionality to apply these changes to an EGraph.

See Also:
Engine.createChange(org.eclipse.emf.henshin.model.Rule, EGraph, Match, Match)

Nested Class Summary
static interface Change.AttributeChange
          Change for modifying an attribute.
static interface Change.CompoundChange
          Compound change (an ordered list of Changes).
static interface Change.IndexChange
          Change for modifying the index of a reference (link) between two objects.
static interface Change.ObjectChange
          Change for creating or deleting an object.
static interface Change.ReferenceChange
          Change for creating or deleting a reference (link) between two objects.
 
Method Summary
 void applyAndReverse()
          Apply this change description and reverse it so that is can be undone / redone.
 EGraph getEGraph()
          Get the EGraph to be changed.
 

Method Detail

getEGraph

EGraph getEGraph()
Get the EGraph to be changed.

Returns:
The EGraph.

applyAndReverse

void applyAndReverse()
Apply this change description and reverse it so that is can be undone / redone.