org.eclipse.emf.emfstore.modelmutator
Interface ESAttributeChangeMutation

All Superinterfaces:
ESMutation, ESStructuralFeatureMutation<ESAttributeChangeMutation>
All Known Implementing Classes:
AttributeChangeMutation

public interface ESAttributeChangeMutation
extends ESStructuralFeatureMutation<ESAttributeChangeMutation>

A mutation, which adds, deletes, or reorders an attribute value of an object.

Since:
2.0
Author:
Philip Langer, emueller

Method Summary
 ESAttributeChangeMutation setNewValue(Object newValue)
          Sets the value that should be used when changing the attribute.
 ESAttributeChangeMutation 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

setNewValue

ESAttributeChangeMutation setNewValue(Object newValue)
Sets the value that should be used when changing the attribute.

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

setRandomChangeMode

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

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


Copyright © 2015. All Rights Reserved.