public interface GraphElement extends DiagramElement
The following features are supported:
com.sodius.mdw.metamodel.uml21.Uml21Package#getGraphElement()
Modifier and Type | Method and Description |
---|---|
DiagramElement |
createContained(EClass eClass)
Creates a new
Diagram Element typed eClass . |
GraphConnector |
createContainedConnector(GraphEdge graphEdge)
Creates a connection, a
Graph Connector to the specified
Graph Edge . |
GraphEdge |
createContainedEdge(Element element)
Creates a new
Graph Edge . |
<E extends GraphElement> |
createContainedGraphElement(Element element,
EClass eClass)
Creates a new
Graph Element typed eClass . |
GraphNode |
createContainedNode(Element element)
Creates a new
Graph Node contained by the current
Graph Element . |
GraphNode |
createContainedTextElement(String text)
Creates a new
Graph Node contained by the current
Graph Element . |
GraphNode |
createSimpleContainedNode(String typeInfo)
Creates a new
Graph Node contained by the current
Graph Element . |
MDWList<GraphEdge> |
getAllContainedEdges()
Returns the list of
Graph Edges recursively contained by the current
Graph Element . |
MDWList<GraphEdge> |
getAllContainedEdges(EClass eClass)
Returns the list of
Graph Edges recursively contained by the current
Graph Element . |
MDWList<GraphEdge> |
getAllContainedEdges(Element element)
Returns the list of
Graph Edges contained by the current
Graph Element . |
MDWList<GraphNode> |
getAllContainedNodes()
Returns the list of
Graph Nodes recursively contained by the current
Graph Element . |
MDWList<GraphNode> |
getAllContainedNodes(EClass eClass)
Returns the list of
Graph Nodes recursively contained by the current
Graph Element . |
MDWList<GraphNode> |
getAllContainedNodes(Element element)
Returns the list of
Graph Nodes recursively contained by the current
Graph Element . |
MDWList<GraphNode> |
getAllContainedNodes(String typeInfo)
Returns the list of
Graph Nodes recursively contained by the current
Graph Element . |
MDWEList<GraphConnector> |
getAnchorage()
Returns the value of the 'Anchorage' containment reference list.
|
MDWEList<DiagramElement> |
getContained()
Returns the value of the 'Contained' containment reference list.
|
MDWList<GraphEdge> |
getContainedEdges()
Returns the list of
Graph Edges contained by the current
Graph Element . |
MDWList<GraphEdge> |
getContainedEdges(EClass eClass)
Returns the list of
Graph Edges contained by the current
Graph Element . |
MDWList<GraphEdge> |
getContainedEdges(Element element)
Returns the list of
Graph Edges contained by the current
Graph Element . |
MDWList<GraphNode> |
getContainedNodes()
Returns the list of
Graph Nodes contained by the current
Graph Element . |
MDWList<GraphNode> |
getContainedNodes(EClass eClass)
Returns the list of
Graph Nodes contained by the current
Graph Element . |
MDWList<GraphNode> |
getContainedNodes(Element element)
Returns the list of
Graph Nodes contained by the current
Graph Element . |
MDWList<GraphNode> |
getContainedNodes(String typeInfo)
Returns the list of
Graph Nodes contained by the current
Graph Element . |
MDWEList<DiagramLink> |
getLink()
Returns the value of the 'Link' containment reference list.
|
Point |
getPosition()
Returns the value of the 'Position' containment reference
|
Element |
getSemanticElement()
Returns the semantic
Element represented by the current
Graph Element . |
SemanticModelBridge |
getSemanticModel()
Returns the value of the 'Semantic Model' containment reference.
|
String |
getSemanticTypeInfo()
Returns the
type info value of the current
Graph Element . |
void |
setPosition(double x,
double y)
Creates a new
Point with abscissa x and ordinate y , and set the
position of the current
Graph Element . |
void |
setPosition(Point value)
Sets the value of the '
Position ' containment reference |
void |
setSemanticElement(Element element)
Sets the semantic specified
Element to the current
Graph Element . |
void |
setSemanticModel(SemanticModelBridge value)
Sets the value of the '
Semantic Model ' containment reference |
void |
setSemanticTypeInfo(String typeInfo)
Sets the specified
type info attribute to the
'typeInfo' value. |
getContainer, getDiagram, getProperty, getProperty, getProperty, getProperty, getReference, isSetIsVisible, isVisible, removeProperty, setContainer, setIsVisible, setProperty, setProperty, unsetIsVisible
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
Point getPosition()
setPosition(Point)
,
com.sodius.mdw.metamodel.uml21.Uml21Package#getGraphElement_Position()
void setPosition(Point value)
Position
' containment reference.
value
- the new value of the 'Position' containment reference.getPosition()
MDWEList<GraphConnector> getAnchorage()
GraphConnector
.
It is bidirectional and its opposite is 'Graph Element
'.
com.sodius.mdw.metamodel.uml21.Uml21Package#getGraphElement_Anchorage()
,
GraphConnector.getGraphElement()
MDWEList<DiagramElement> getContained()
DiagramElement
.
It is bidirectional and its opposite is 'Container
'.
com.sodius.mdw.metamodel.uml21.Uml21Package#getGraphElement_Contained()
,
DiagramElement.getContainer()
SemanticModelBridge getSemanticModel()
""
.
It is bidirectional and its opposite is 'Graph Element
'.
setSemanticModel(SemanticModelBridge)
,
com.sodius.mdw.metamodel.uml21.Uml21Package#getGraphElement_SemanticModel()
,
SemanticModelBridge.getGraphElement()
void setSemanticModel(SemanticModelBridge value)
Semantic Model
' containment reference.
value
- the new value of the 'Semantic Model' containment reference.getSemanticModel()
MDWEList<DiagramLink> getLink()
DiagramLink
.
It is bidirectional and its opposite is 'Graph Element
'.
com.sodius.mdw.metamodel.uml21.Uml21Package#getGraphElement_Link()
,
DiagramLink.getGraphElement()
void setPosition(double x, double y)
Point
with abscissa x
and ordinate y
, and set the
position
of the current
Graph Element
.x
- the abscissay
- the ordinatePoint.getX()
,
Point.getY()
,
getPosition()
DiagramElement createContained(EClass eClass)
Diagram Element
typed eClass
. The Diagram Element
created is
contained by the current Graph Element
.eClass
- the type of the DiagramElement createdcreateContainedGraphElement(Element, EClass)
<E extends GraphElement> E createContainedGraphElement(Element element, EClass eClass)
Graph Element
typed eClass
. The
Graph Element
created
is linked to a
Core Semantic Model Bridge
having a relation
element
to the
semantic element
. The Graph Element
created is contained by the current Graph Element
.element
- the semantic Element represented by the GraphElementeClass
- the type of the GraphElement createdcreateContained(EClass)
GraphNode createContainedNode(Element element)
Graph Node
contained by the current
Graph Element
. The Graph Node
created is linked to a Core Semantic Model Bridge
,
having
a relation
element
to the specified semantic
element
.element
- the semantic Element represented by the GraphNodecreateContained(EClass)
GraphNode createSimpleContainedNode(String typeInfo)
Graph Node
contained by the current
Graph Element
. The
Graph Node
is linked to a Simple Semantic Model Element
having the attribute type info
set to the specified
'typeInfo' value.
This method is typically used to create Notes in a Diagram.typeInfo
- the type info of the GraphNode.GraphNode createContainedTextElement(String text)
Graph Node
contained by the current
Graph Element
. The Graph
Element
created contains a Text Element
, which attribute
text
is set to the specified 'text' value.text
- the text of the TextElement.GraphEdge createContainedEdge(Element element)
Graph Edge
. The Graph Edge
created is linked to a Core Semantic Model Bridge
,
having
a relation
element
to the specified semantic
element
. The Graph Edge
created is contained by the current
Graph Element
.element
- the semantic Element represented by the GraphEdgecreateContained(EClass)
Element getSemanticElement()
Element
represented by the current
Graph Element
. The Element
is linked to the Graph Element
through a
Core Semantic Model Bridge
com.sodius.mdw.metamodel.uml21.CoreSemanticModelBridge#getSemanticElement
String getSemanticTypeInfo()
type info
value of the current
Graph Element
. The current Graph Element
is linked to a Simple Semantic Model
Element
.SimpleSemanticModelElement.getTypeInfo()
void setSemanticElement(Element element)
Element
to the current
Graph Element
. The specified Element
is linked to the Graph Element
through a
Core Semantic Model Bridge
element
- the semantic UML ElementCoreSemanticModelBridge.setElement(Element)
void setSemanticTypeInfo(String typeInfo)
type info
attribute to the
'typeInfo' value.
The current
Graph Element
is linked to a
Simple Semantic Model
Element
.typeInfo
- the semantic type infocom.sodius.mdw.metamodel.uml21.SimpleSemanticModelElement#setTypeInfo()
MDWList<GraphNode> getContainedNodes()
Graph Nodes
contained by the current
Graph Element
.getContainedNodes(Element)
,
getContainedNodes(EClass)
,
getContainedNodes(String)
,
getAllContainedNodes()
,
getAllContainedNodes(EClass)
,
getAllContainedNodes(Element)
,
getAllContainedNodes(String)
MDWList<GraphEdge> getContainedEdges()
Graph Edges
contained by the current
Graph Element
.getAllContainedEdges()
,
getAllContainedEdges(EClass)
,
getAllContainedEdges(Element)
MDWList<GraphNode> getContainedNodes(EClass eClass)
Graph Nodes
contained by the current
Graph Element
. The semantic Element
represented by the Graph Node
is typed by the specified
eClass
.eClass
- the type of the semantic ElementgetContainedNodes(EClass)
,
getContainedNodes(Element)
,
getContainedNodes(String)
,
getAllContainedNodes()
,
getAllContainedNodes(EClass)
,
getAllContainedNodes(Element)
,
getAllContainedNodes(String)
MDWList<GraphEdge> getContainedEdges(EClass eClass)
Graph Edges
contained by the current
Graph Element
. The semantic Element
represented by the Graph Edge
is typed by the specified
eClass
.eClass
- the type of the semantic ElementgetContainedEdges()
,
getContainedEdges(Element)
,
getAllContainedEdges()
,
getAllContainedEdges(EClass)
,
getAllContainedEdges(Element)
MDWList<GraphNode> getAllContainedNodes()
Graph Nodes
recursively contained by the current
Graph Element
.getContainedNodes()
,
getContainedNodes(Element)
,
getContainedNodes(String)
,
getAllContainedNodes(EClass)
,
getAllContainedNodes(Element)
,
getAllContainedNodes(String)
MDWList<GraphEdge> getAllContainedEdges()
Graph Edges
recursively contained by the current
Graph Element
.getContainedEdges()
,
getContainedEdges(Element)
,
getContainedEdges(EClass)
,
getAllContainedEdges(EClass)
,
getAllContainedEdges(Element)
MDWList<GraphNode> getAllContainedNodes(EClass eClass)
Graph Nodes
recursively contained by the current
Graph Element
. The semantic Element
represented by the Graph Node
is typed by the specified
eClass
.getContainedNodes()
,
getContainedNodes(Element)
,
getContainedNodes(String)
,
getAllContainedNodes()
,
getAllContainedNodes(Element)
,
getAllContainedNodes(String)
MDWList<GraphEdge> getAllContainedEdges(EClass eClass)
Graph Edges
recursively contained by the current
Graph Element
. The semantic Element
represented by the Graph Edge
is typed by the specified
eClass
.getContainedEdges()
,
getContainedEdges(Element)
,
getContainedEdges(EClass)
,
getAllContainedEdges()
,
getAllContainedEdges(Element)
GraphConnector createContainedConnector(GraphEdge graphEdge)
Graph Connector
to the specified
Graph Edge
. The Graph
Connector
is contained by the current
Graph Element
.the
- GraphEdge having the connection to another GraphElement.getAnchorage()
,
GraphConnector.getGraphEdge()
MDWList<GraphNode> getContainedNodes(Element element)
Graph Nodes
contained by the current
Graph Element
. The Graph
Nodes
are linked to the specified element
through a
Core Semantic Model Bridge
element
- the semantic Element represented by the GraphNodesgetContainedNodes()
,
getContainedNodes(EClass)
,
getAllContainedNodes()
,
getAllContainedNodes(EClass)
,
getAllContainedNodes(Element)
,
getAllContainedNodes(String)
MDWList<GraphNode> getAllContainedNodes(Element element)
Graph Nodes
recursively contained by the current
Graph Element
. The Graph
Nodes
are linked to the specified element
through a
Core Semantic Model Bridge
element
- the semantic Element represented by the GraphNodesgetContainedNodes()
,
getContainedNodes(EClass)
,
getContainedNodes(Element)
,
getAllContainedNodes()
,
getAllContainedNodes(EClass)
,
getAllContainedNodes(String)
,
CoreSemanticModelBridge.getElement()
MDWList<GraphNode> getContainedNodes(String typeInfo)
Graph Nodes
contained by the current
Graph Element
. The Graph
Nodes
are linked to a Simple Semantic Model Element
, having a
type info
attribute set to the specified 'typeInfo'.typeInfo
- the type info of the SimpleSemanticModelElement linked to the GraphNodegetContainedNodes()
,
getContainedNodes(EClass)
,
getContainedNodes(Element)
,
getAllContainedNodes()
,
getAllContainedNodes(EClass)
,
getAllContainedNodes(Element)
,
getAllContainedNodes(String)
,
SimpleSemanticModelElement.getTypeInfo()
MDWList<GraphNode> getAllContainedNodes(String typeInfo)
Graph Nodes
recursively contained by the current
Graph Element
. The Graph
Nodes
are linked to a Simple Semantic Model Element
, having a
type info
attribute set to the specified 'typeInfo'.typeInfo
- the type info of the SimpleSemanticModelElement linked to the GraphNodegetContainedNodes()
,
getContainedNodes(EClass)
,
getContainedNodes(Element)
,
getContainedNodes(String)
,
getAllContainedNodes()
,
getAllContainedNodes(EClass)
,
getAllContainedNodes(Element)
,
SimpleSemanticModelElement.getTypeInfo()
MDWList<GraphEdge> getContainedEdges(Element element)
Graph Edges
contained by the current
Graph Element
. The Graph
Edges
are linked to the specified element
through a
Core Semantic Model Bridge
element
- the semantic Element represented by the GraphEdgesgetContainedEdges()
,
getContainedEdges(EClass)
,
getAllContainedEdges()
,
getAllContainedEdges(EClass)
,
getAllContainedEdges(Element)
,
CoreSemanticModelBridge.getElement()
MDWList<GraphEdge> getAllContainedEdges(Element element)
Graph Edges
contained by the current
Graph Element
. The Graph
Edges
are linked to the specified element
through a
Core Semantic Model Bridge
element
- the semantic Element represented by the GraphEdgesgetContainedEdges()
,
getContainedEdges(EClass)
,
getContainedEdges(Element)
,
getAllContainedEdges()
,
getAllContainedEdges(EClass)
,
CoreSemanticModelBridge.getElement()