org.eclipse.emf.henshin.interpreter.impl
Class ChangeImpl.AttributeChangeImpl
java.lang.Object
org.eclipse.emf.henshin.interpreter.impl.ChangeImpl
org.eclipse.emf.henshin.interpreter.impl.ChangeImpl.AttributeChangeImpl
- All Implemented Interfaces:
- Change, Change.AttributeChange
- Enclosing class:
- ChangeImpl
public static final class ChangeImpl.AttributeChangeImpl
- extends ChangeImpl
- implements Change.AttributeChange
Default implementation of AttributeChange
.
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 |
getEGraph |
ChangeImpl.AttributeChangeImpl
public ChangeImpl.AttributeChangeImpl(EGraph graph,
EObject object,
EAttribute attribute,
Object newValue)
applyAndReverse
public void applyAndReverse()
- Description copied from interface:
Change
- Apply this change description and reverse it so that
is can be undone / redone.
- Specified by:
applyAndReverse
in interface Change
getObject
public EObject getObject()
- Specified by:
getObject
in interface Change.AttributeChange
getAttribute
public EAttribute getAttribute()
- Specified by:
getAttribute
in interface Change.AttributeChange
getOldValue
public Object getOldValue()
- Specified by:
getOldValue
in interface Change.AttributeChange
getNewValue
public Object getNewValue()
- Specified by:
getNewValue
in interface Change.AttributeChange