org.eclipse.emf.ecore.change
Interface ChangeDescription

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
ChangeDescriptionImpl

public interface ChangeDescription
extends EObject

A representation of the model object 'Description'.

The following features are supported:

See Also:
ChangePackage.getChangeDescription()

Method Summary
 void apply()
           
 void applyAndReverse()
           
 EMap getObjectChanges()
          Returns the value of the 'Object Changes' map.
 EList getObjectsToAttach()
          Returns the value of the 'Objects To Attach' containment reference list.
 EList getObjectsToDetach()
          Returns the value of the 'Objects To Detach' reference list.
 EList getResourceChanges()
          Returns the value of the 'Resource Changes' containment reference list.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getObjectChanges

public EMap getObjectChanges()
Returns the value of the 'Object Changes' map. The key is of type EObject, and the value is of type list of FeatureChange,

If the meaning of the 'Object Changes' map isn't clear, there really should be more of a description here...

Returns:
the value of the 'Object Changes' map.
See Also:
ChangePackage.getChangeDescription_ObjectChanges()

getObjectsToDetach

public EList getObjectsToDetach()
Returns the value of the 'Objects To Detach' reference list. The list contents are of type EObject.

Returns the list of objects that will be detached when this Change Description is applied. The list is calculated every time this method is called.

Returns:
the value of the 'Objects To Detach' reference list.
See Also:
ChangePackage.getChangeDescription_ObjectsToDetach()

getObjectsToAttach

public EList getObjectsToAttach()
Returns the value of the 'Objects To Attach' containment reference list. The list contents are of type EObject.

If the meaning of the 'Objects To Attach' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Objects To Attach' containment reference list.
See Also:
ChangePackage.getChangeDescription_ObjectsToAttach()

getResourceChanges

public EList getResourceChanges()
Returns the value of the 'Resource Changes' containment reference list. The list contents are of type ResourceChange.

If the meaning of the 'Resource Changes' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Resource Changes' containment reference list.
See Also:
ChangePackage.getChangeDescription_ResourceChanges()

apply

public void apply()


applyAndReverse

public void applyAndReverse()


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.