@OpenApiAll
public interface ExtractTarget
ExtractManager
,
ExtractSource
,
Refactoring.Extracting
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAllowedTargetDiagramTypes()
Gets allowed target diagram types for extract refactoring.
|
DiagramPresentationElement |
getDiagram()
Gets target diagram which was created during refactoring.
|
Element |
getElement()
Gets element which was created in the extract refactor target after refactoring.
|
java.util.List<? extends ExtractReference> |
getReferences()
Gets source to target references.
|
void |
setElementName(java.lang.String elementName)
Sets name of the refactored target element.
|
void |
setTargetDiagramType(java.lang.String targetDiagramType)
Sets type of diagram to create the target diagram.
|
void |
setTargetNamespace(Namespace targetNamespace)
Sets namespace in which target elements have to be created.
|
void setTargetDiagramType(java.lang.String targetDiagramType)
IllegalArgumentException
is thrown.targetDiagramType
- target diagram type to set.java.util.List<java.lang.String> getAllowedTargetDiagramTypes()
void setTargetNamespace(Namespace targetNamespace)
targetNamespace
- namespace for target elements.java.util.List<? extends ExtractReference> getReferences()
void setElementName(java.lang.String elementName)
elementName
- refactored element name.Element getElement()
DiagramPresentationElement getDiagram()