Class AbstractExtractSymmetricRelationshipRefactoring
- java.lang.Object
-
- org.contextmapper.dsl.refactoring.AbstractRefactoring
-
- org.contextmapper.dsl.refactoring.AbstractExtractSymmetricRelationshipRefactoring
-
- All Implemented Interfaces:
Refactoring
- Direct Known Subclasses:
ExtractPartnershipRefactoring
,ExtractSharedKernelRefactoring
public abstract class AbstractExtractSymmetricRelationshipRefactoring extends AbstractRefactoring implements Refactoring
Used for 'Extract Shared Kernel' AR and the 'extract' mode of the 'Suspend Partnership' AR.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
boundedContext1
protected java.lang.String
boundedContext2
protected ContextMap
contextMap
-
Fields inherited from class org.contextmapper.dsl.refactoring.AbstractRefactoring
additionalResourcesToCheck, consistencyCheckResources, importedResources, model, rootResource
-
-
Constructor Summary
Constructors Constructor Description AbstractExtractSymmetricRelationshipRefactoring(java.lang.String boundedContext1, java.lang.String boundedContext2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BoundedContext
createBoundedContext()
protected void
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
-
-
-
-
Field Detail
-
boundedContext1
protected java.lang.String boundedContext1
-
boundedContext2
protected java.lang.String boundedContext2
-
contextMap
protected ContextMap contextMap
-
-
Method Detail
-
doRefactor
protected void doRefactor()
- Specified by:
doRefactor
in classAbstractRefactoring
-
createBoundedContext
protected BoundedContext createBoundedContext()
-
-