@OpenApiAll
public class Target
extends java.lang.Object
Constructor and Description |
---|
Target(ShapeElement element)
Constructs target for the given shape element.
|
Target(ShapeElement element,
boolean elementNew)
Constructs target for the given shape element.
|
Modifier and Type | Method and Description |
---|---|
DiagramPresentationElement |
getDiagram()
Returns diagram for the target classifier.
|
Classifier |
getTargetClassifier()
Returns the target classifier.
|
ShapeElement |
getTargetShapeElement()
Returns the shape element of the target classifier.
|
boolean |
isElementNew()
Indicates that element was just created.
|
public Target(ShapeElement element)
element
- the given target element.public Target(ShapeElement element, boolean elementNew)
element
- the given target element.elementNew
- true if element was just created, else false.public DiagramPresentationElement getDiagram()
public ShapeElement getTargetShapeElement()
public Classifier getTargetClassifier()
public boolean isElementNew()