Interface SemanticCMLRefactoring
-
- All Known Implementing Classes:
AbstractExtractSymmetricRelationshipRefactoring
,AbstractHenshinRefactoring
,AbstractRefactoring
,AbstractToggleSymmetricRelationshipRefactoring
,ChangePartnershipToUpstreamDownstreamRefactoring
,DeriveBoundedContextFromSubdomains
,DeriveFrontendAndBackendSystemsFromFeature
,DeriveSubdomainFromUserRequirements
,ExtractAggregatesByCohesion
,ExtractAggregatesByVolatility
,ExtractPartnershipRefactoring
,ExtractSharedKernelRefactoring
,MergeAggregatesRefactoring
,MergeBoundedContextsRefactoring
,SplitAggregateByEntitiesRefactoring
,SplitBoundedContextByAggregateAttribute
,SplitBoundedContextByFeatures
,SplitBoundedContextByOwner
,SplitSystemIntoSubsystems
,SwitchFromPartnershipToSharedKernelRefactoring
,SwitchFromSharedKernelToPartnershipRefactoring
public interface SemanticCMLRefactoring
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
persistChanges()
Can be called after the 'refactor' method, in case one wants to save/persist the changes to the CML files.void
refactor(CMLResourceContainer resource)
Applies the refactoring to the CML model in the given resource.void
refactor(CMLResourceContainer resource, org.eclipse.emf.ecore.resource.ResourceSet resourcesToBeChecked4Consistency)
Applies the refactoring to the CML model in the given resource.
-
-
-
Method Detail
-
refactor
void refactor(CMLResourceContainer resource)
Applies the refactoring to the CML model in the given resource.- Parameters:
resource
- the resource with the CML model that shall be refactored
-
refactor
void refactor(CMLResourceContainer resource, org.eclipse.emf.ecore.resource.ResourceSet resourcesToBeChecked4Consistency)
Applies the refactoring to the CML model in the given resource. Additionally ensures consistency in Context Maps in all resources of the additional ResourceSet.- Parameters:
resource
- the resource with the CML model that shall be refactored.resourcesToBeChecked4Consistency
- the resources that contain Context Maps which potentially have to be corrected after refactoring. For example: if you have other models in your workspace that have referenes to the refactored one. If you provide them here as s ResourceSet, the refactoring can correct the references.
-
persistChanges
void persistChanges()
Can be called after the 'refactor' method, in case one wants to save/persist the changes to the CML files.
-
-