org.eclipse.emf.henshin.interpreter.impl
Class ChangeImpl

java.lang.Object
  extended by org.eclipse.emf.henshin.interpreter.impl.ChangeImpl
All Implemented Interfaces:
Change
Direct Known Subclasses:
ChangeImpl.AttributeChangeImpl, ChangeImpl.CompoundChangeImpl, ChangeImpl.IndexChangeImpl, ChangeImpl.ObjectChangeImpl, ChangeImpl.ReferenceChangeImpl

public abstract class ChangeImpl
extends Object
implements Change

Default implementation of Change and its sub-interfaces.


Nested Class Summary
static class ChangeImpl.AttributeChangeImpl
          Default implementation of AttributeChange.
static class ChangeImpl.CompoundChangeImpl
          Default implementation of CompoundChange.
static class ChangeImpl.IndexChangeImpl
          Default implementation of IndexChange.
static class ChangeImpl.ObjectChangeImpl
          Default implementation of ObjectChange.
static class ChangeImpl.ReferenceChangeImpl
          Default implementation of ReferenceChange.
 
Nested classes/interfaces inherited from interface org.eclipse.emf.henshin.interpreter.Change
Change.AttributeChange, Change.CompoundChange, Change.IndexChange, Change.ObjectChange, Change.ReferenceChange
 
Field Summary
protected  EGraph graph
          EGraph to be changed.
static boolean PRINT_WARNINGS
          Flag indicating whether warnings should be printed.
 
Constructor Summary
ChangeImpl(EGraph graph)
          Default constructor.
 
Method Summary
 EGraph getEGraph()
          Get the EGraph to be changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.henshin.interpreter.Change
applyAndReverse
 

Field Detail

PRINT_WARNINGS

public static boolean PRINT_WARNINGS
Flag indicating whether warnings should be printed.


graph

protected final EGraph graph
EGraph to be changed.

Constructor Detail

ChangeImpl

public ChangeImpl(EGraph graph)
Default constructor.

Parameters:
graph - EGraph to be changed.
Method Detail

getEGraph

public EGraph getEGraph()
Description copied from interface: Change
Get the EGraph to be changed.

Specified by:
getEGraph in interface Change
Returns:
The EGraph.