|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.modelmutator.mutation.Mutation
org.eclipse.emf.emfstore.internal.modelmutator.mutation.StructuralFeatureMutation<ESFeatureMapKeyMutation>
org.eclipse.emf.emfstore.internal.modelmutator.mutation.FeatureMapKeyMutation
public class FeatureMapKeyMutation
A mutation, which changes the keys of feature map entries.
| Constructor Summary | |
|---|---|
FeatureMapKeyMutation(ESModelMutatorUtil util)
Creates a new mutation with the specified util. |
|
FeatureMapKeyMutation(ESModelMutatorUtil util,
MutationTargetSelector selector)
Creates a new mutation with the specified util and the selector. |
|
| Method Summary | |
|---|---|
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. |
List<org.eclipse.emf.ecore.EStructuralFeature> |
getFeaturesOfFeatureMapGroup()
Returns the features that are derived from the selected feature map. |
| Methods inherited from class org.eclipse.emf.emfstore.internal.modelmutator.mutation.StructuralFeatureMutation |
|---|
getExcludedTargetEClasses, getExcludedTargetFeatures, getExcludedTargetObjects, getTargetFeature, getTargetObject, setTargetFeature, setTargetObject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.emfstore.modelmutator.ESStructuralFeatureMutation |
|---|
getExcludedTargetEClasses, getExcludedTargetFeatures, getExcludedTargetObjects, getTargetFeature, getTargetObject, setTargetFeature, setTargetObject |
| Constructor Detail |
|---|
public FeatureMapKeyMutation(ESModelMutatorUtil util)
util.
util - The model mutator util used for accessing the model to be mutated.
public FeatureMapKeyMutation(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.| Method Detail |
|---|
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 List<org.eclipse.emf.ecore.EStructuralFeature> getFeaturesOfFeatureMapGroup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||