org.eclipse.emf.emfstore.modelmutator
Interface ESReferenceChangeMutation

All Superinterfaces:
ESMutation, ESStructuralFeatureMutation<ESReferenceChangeMutation>
All Known Implementing Classes:
ReferenceChangeMutation

public interface ESReferenceChangeMutation
extends ESStructuralFeatureMutation<ESReferenceChangeMutation>

A mutation, which changes reference values.

Since:
2.0
Author:
Philip Langer, emueller

Method Summary
 ESReferenceChangeMutation setNewReferenceValue(org.eclipse.emf.ecore.EObject newValue)
          Sets the value that should be used when changing the reference.
 ESReferenceChangeMutation setRandomChangeMode(ESRandomChangeMode mode)
          Sets the change mode for this attribute change.
 
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

setRandomChangeMode

ESReferenceChangeMutation setRandomChangeMode(ESRandomChangeMode mode)
Sets the change mode for this attribute change.

Parameters:
mode - the random change mode to be set
Returns:
this mutation

setNewReferenceValue

ESReferenceChangeMutation setNewReferenceValue(org.eclipse.emf.ecore.EObject newValue)
Sets the value that should be used when changing the reference.

Parameters:
newValue - the value of the reference
Returns:
this mutation


Copyright © 2015. All Rights Reserved.