|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.modelmutator.mutation.Mutation org.eclipse.emf.emfstore.internal.modelmutator.mutation.StructuralFeatureMutation<M>
M
- the implementing API mutation typepublic abstract class StructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
An abstract mutation for changing structural feature values.
Constructor Summary | |
---|---|
StructuralFeatureMutation(ESModelMutatorUtil util)
Creates a new mutation with the specified util . |
Method Summary | |
---|---|
Collection<org.eclipse.emf.ecore.EClass> |
getExcludedTargetEClasses()
Returns the collection of EClasses to be excluded when selecting the target object. |
Collection<org.eclipse.emf.ecore.EStructuralFeature> |
getExcludedTargetFeatures()
Returns the collection of features to be excluded from being selected as the target
feature. |
Collection<org.eclipse.emf.ecore.EObject> |
getExcludedTargetObjects()
Returns the collection of EObjects to be excluded from being selected as the target object. |
org.eclipse.emf.ecore.EStructuralFeature |
getTargetFeature()
Returns the EStructuralFeature of a target object that will or has been mutated. |
org.eclipse.emf.ecore.EObject |
getTargetObject()
Returns the selected or set target object that will or has been mutated. |
M |
setTargetFeature(org.eclipse.emf.ecore.EStructuralFeature targetFeature)
Sets the EStructuralFeature of a target object that will be mutated. |
M |
setTargetObject(org.eclipse.emf.ecore.EObject targetObject)
Sets the EObject to be used as target object. |
Methods inherited from class org.eclipse.emf.emfstore.internal.modelmutator.mutation.Mutation |
---|
apply, clone |
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.ESMutation |
---|
apply |
Constructor Detail |
---|
public StructuralFeatureMutation(ESModelMutatorUtil util)
util
.
util
- The model mutator util used for accessing the model to be mutated.Method Detail |
---|
public Collection<org.eclipse.emf.ecore.EClass> getExcludedTargetEClasses()
EClasses
to be excluded when selecting the target object.
That is, EObjects are excluded from being selected as target object if they are an instance of an EClass
contained in this collection. The returned collection is changeable. Add items using
getExcludedTargetEClasses().add
.
getExcludedTargetEClasses
in interface ESStructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
ESStructuralFeatureMutation.getExcludedTargetEClasses()
public Collection<org.eclipse.emf.ecore.EStructuralFeature> getExcludedTargetFeatures()
features
to be excluded from being selected as the target
feature.
The returned collection is changeable. Add items using getExcludedTargetFeatures().add
.
getExcludedTargetFeatures
in interface ESStructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
ESStructuralFeatureMutation.getExcludedTargetFeatures()
public Collection<org.eclipse.emf.ecore.EObject> getExcludedTargetObjects()
EObjects
to be excluded from being selected as the target object.
The returned collection is changeable. Add items using getExcludedTargetObjects().add
.
getExcludedTargetObjects
in interface ESStructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
ESStructuralFeatureMutation.getExcludedTargetObjects()
public M setTargetObject(org.eclipse.emf.ecore.EObject targetObject)
EObject
to be used as target object.
setTargetObject
in interface ESStructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
targetObject
- the target object to be mutated
ESStructuralFeatureMutation.setTargetObject(org.eclipse.emf.ecore.EObject)
public org.eclipse.emf.ecore.EObject getTargetObject()
getTargetObject
in interface ESStructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
ESStructuralFeatureMutation.getTargetObject()
public M setTargetFeature(org.eclipse.emf.ecore.EStructuralFeature targetFeature)
EStructuralFeature
of a target object that will be mutated.
setTargetFeature
in interface ESStructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
targetFeature
- the feature of the target object to be mutated
ESStructuralFeatureMutation.setTargetFeature(org.eclipse.emf.ecore.EStructuralFeature)
public org.eclipse.emf.ecore.EStructuralFeature getTargetFeature()
EStructuralFeature
of a target object that will or has been mutated.
getTargetFeature
in interface ESStructuralFeatureMutation<M extends ESStructuralFeatureMutation<?>>
ESStructuralFeatureMutation.getTargetFeature()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |