Class ExtractPartnershipRefactoring
- java.lang.Object
-
- org.contextmapper.dsl.refactoring.AbstractRefactoring
-
- org.contextmapper.dsl.refactoring.AbstractExtractSymmetricRelationshipRefactoring
-
- org.contextmapper.dsl.refactoring.ExtractPartnershipRefactoring
-
- All Implemented Interfaces:
Refactoring
public class ExtractPartnershipRefactoring extends AbstractExtractSymmetricRelationshipRefactoring implements Refactoring
This is the 'extract' mode of the 'Suspend Partnership' AR. It extracts a new Bounded Context for the common model parts and establishes upstream-downstream relationships between the new and the two existing Bounded Contexts.
-
-
Field Summary
-
Fields inherited from class org.contextmapper.dsl.refactoring.AbstractExtractSymmetricRelationshipRefactoring
boundedContext1, boundedContext2, contextMap
-
Fields inherited from class org.contextmapper.dsl.refactoring.AbstractRefactoring
additionalResourcesToCheck, consistencyCheckResources, importedResources, model, rootResource
-
-
Constructor Summary
Constructors Constructor Description ExtractPartnershipRefactoring(java.lang.String boundedContext1, java.lang.String boundedContext2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BoundedContext
createBoundedContext()
-
Methods inherited from class org.contextmapper.dsl.refactoring.AbstractExtractSymmetricRelationshipRefactoring
doRefactor
-
Methods inherited from class org.contextmapper.dsl.refactoring.AbstractRefactoring
addElementsToEList, addElementToEList, doRefactor, doRefactor, getAllBoundedContexts, getAllContextMaps, getResource, getResource, markResourceChanged, markResourceChanged, markResourceChanged, removeElementFromEList, saveResource, saveResources
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.contextmapper.dsl.refactoring.Refactoring
doRefactor, doRefactor
-
-
-
-
Method Detail
-
createBoundedContext
protected BoundedContext createBoundedContext()
- Overrides:
createBoundedContext
in classAbstractExtractSymmetricRelationshipRefactoring
-
-