public class ESDefaultModelMutator extends ESAbstractModelMutator
| Constructor and Description |
|---|
ESDefaultModelMutator(ESModelMutatorConfiguration config)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
changeModel(ESModelMutatorConfiguration config)
Modifies a model as specified in the config.
|
static void |
changeModel(ESModelMutatorConfiguration config,
Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
Modifies a model as specified in the config.
|
static void |
generateModel(ESModelMutatorConfiguration config)
Generates a model as specified in the config.
|
void |
mutate(Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
Mutation after an initial generation.
|
void |
postMutate()
Called after generation and mutation.
|
void |
preMutate()
Called before generation and mutation.
|
changeCrossReferences, changeCrossReferences, createChildren, createChildren, createChildrenForRoot, deleteEObjects, generate, getConfig, mutateAttributes, mutateUntil, setConfigpublic ESDefaultModelMutator(ESModelMutatorConfiguration config)
config - the configuration used in the processpublic static void generateModel(ESModelMutatorConfiguration config)
config - the configurationpublic static void changeModel(ESModelMutatorConfiguration config)
config - the configurationpublic static void changeModel(ESModelMutatorConfiguration config, Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
config - the configurationignoredFeatures - the features that are to be ignored while changing the modelpublic void preMutate()
ESAbstractModelMutatorpreMutate in class ESAbstractModelMutatorpublic void postMutate()
ESAbstractModelMutatorpostMutate in class ESAbstractModelMutatorpublic void mutate(Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
ESAbstractModelMutatormutate in class ESAbstractModelMutatorignoredFeatures - a set of features to be ignored while mutatingCopyright © 2017. All rights reserved.