public class FeatureMapValueMutation extends StructuralFeatureMutation<ESFeatureMapValueMutation> implements ESFeatureMapValueMutation
feature map entries.| Constructor and Description |
|---|
FeatureMapValueMutation(ESModelMutatorUtil util)
Creates a new mutation with the specified
util. |
FeatureMapValueMutation(ESModelMutatorUtil util,
MutationTargetSelector selector)
Creates a new mutation with the specified
util and the selector. |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Applies this mutation and returns whether it succeeded in being applied.
|
Mutation |
clone()
Mutations must follow the prototype pattern as org.eclipse.emf.emfstore.internal.modelmutator.api.ModelMutator
will clone pre-configured mutations before
they will be completed and applied.
|
org.eclipse.emf.ecore.EObject |
createOfType(org.eclipse.emf.ecore.EClass eClass) |
getExcludedTargetEClasses, getExcludedTargetFeatures, getExcludedTargetObjects, getTargetFeature, getTargetObject, setTargetFeature, setTargetObjectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExcludedTargetEClasses, getExcludedTargetFeatures, getExcludedTargetObjects, getTargetFeature, getTargetObject, setTargetFeature, setTargetObjectpublic FeatureMapValueMutation(ESModelMutatorUtil util)
util.util - The model mutator util used for accessing the model to be mutated.public FeatureMapValueMutation(ESModelMutatorUtil util, MutationTargetSelector selector)
util and the selector.util - The model mutator util used for accessing the model to be mutated.selector - The target selector for selecting the target container and feature.public Mutation clone()
clone in class MutationMutation.clone()public void apply()
throws ESMutationException
apply in interface ESMutationapply in class MutationESMutationException - thrown if the mutation failed.Mutation.apply()public org.eclipse.emf.ecore.EObject createOfType(org.eclipse.emf.ecore.EClass eClass)
Copyright © 2017. All rights reserved.