Class ChangePartnershipToUpstreamDownstreamRefactoring
java.lang.Object
org.contextmapper.dsl.refactoring.AbstractRefactoring
org.contextmapper.dsl.refactoring.ChangePartnershipToUpstreamDownstreamRefactoring
- All Implemented Interfaces:
SemanticCMLRefactoring
public class ChangePartnershipToUpstreamDownstreamRefactoring
extends AbstractRefactoring
implements SemanticCMLRefactoring
Removes a Partnership relationship between two Bounded Contexts and creates
an Upstream-Downstream relationship instead.
-
Field Summary
FieldsFields inherited from class org.contextmapper.dsl.refactoring.AbstractRefactoring
additionalResourcesToCheck, consistencyCheckResources, importedResources, model, rootResource
-
Constructor Summary
ConstructorsConstructorDescriptionChangePartnershipToUpstreamDownstreamRefactoring
(String upstreamContext, String downstreamContext) Pass the two Bounded Context names within the Partnership relationship. -
Method Summary
Methods inherited from class org.contextmapper.dsl.refactoring.AbstractRefactoring
addElementsToEList, addElementToEList, getAllBoundedContexts, getAllContextMaps, getAllDomains, getAllUserRequirements, getResource, persistChanges, refactor, refactor, removeElementFromEList
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.SemanticCMLRefactoring
persistChanges, refactor, refactor
-
Field Details
-
upstreamContext
-
downstreamContext
-
-
Constructor Details
-
Method Details
-
doRefactor
protected void doRefactor()- Specified by:
doRefactor
in classAbstractRefactoring
-