org.eclipse.emf.emfstore.modelmutator
Interface ESAddObjectMutation

All Superinterfaces:
ESContainmentChangeMutation<ESAddObjectMutation>, ESMutation, ESStructuralFeatureMutation<ESAddObjectMutation>
All Known Implementing Classes:
AddObjectMutation

public interface ESAddObjectMutation
extends ESContainmentChangeMutation<ESAddObjectMutation>

A mutation, which adds a new object into the model.

Since:
2.0
Author:
Philip Langer, emueller

Method Summary
 org.eclipse.emf.ecore.EObject getEObjectToAdd()
          Returns the object added or to be added by this mutation.
 ESAddObjectMutation setEObjectToAdd(org.eclipse.emf.ecore.EObject eObject)
          Sets the object to be added by this mutation.
 
Methods inherited from interface org.eclipse.emf.emfstore.modelmutator.ESStructuralFeatureMutation
getExcludedTargetEClasses, getExcludedTargetFeatures, getExcludedTargetObjects, getTargetFeature, getTargetObject, setTargetFeature, setTargetObject
 
Methods inherited from interface org.eclipse.emf.emfstore.modelmutator.ESMutation
apply
 

Method Detail

setEObjectToAdd

ESAddObjectMutation setEObjectToAdd(org.eclipse.emf.ecore.EObject eObject)
Sets the object to be added by this mutation.

Parameters:
eObject - the object to be added
Returns:
this mutation

getEObjectToAdd

org.eclipse.emf.ecore.EObject getEObjectToAdd()
Returns the object added or to be added by this mutation.

Returns:
the added or to-be-added object


Copyright © 2015. All Rights Reserved.