Package com.sodius.mdw.metamodel.uml21
Interface Diagram
-
- All Superinterfaces:
Comparable<Object>
,DiagramElement
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,GraphElement
,GraphNode
,MDWEObject
,MDWObject
,org.eclipse.emf.common.notify.Notifier
public interface Diagram extends GraphNode
A representation of the model object 'Diagram'.The following features are supported:
- See Also:
UMLPackage.getDiagram()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MDWEList<DiagramLink>
getDiagramLink()
Returns the value of the 'Diagram Link' reference list.String
getName()
Returns the value of the 'Name' attribute.SemanticModelBridge
getOwner()
Returns the value of the 'Owner' containment reference.Element
getOwnerElement()
Returns the SemanticElement
that owns the Diagram.Point
getViewport()
Returns the value of the 'Viewport' containment reference.double
getZoom()
Returns the value of the 'Zoom' attribute.boolean
isSetZoom()
Returns whether the value of the 'Zoom
' attribute is set.void
setName(String value)
Sets the value of the 'Name
' attribute.void
setOwner(SemanticModelBridge value)
Sets the value of the 'Owner
' containment reference.void
setOwnerElement(Element element)
Set the SemanticElement
that owns the Diagram.void
setViewport(Point value)
Sets the value of the 'Viewport
' containment reference.void
setZoom(double value)
Sets the value of the 'Zoom
' attribute.void
unsetZoom()
Unsets the value of the 'Zoom
' attribute.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.DiagramElement
getContainer, getDiagram, getProperty, getProperty, getProperty, getProperty, getReference, isSetIsVisible, isVisible, removeProperty, setContainer, setIsVisible, setProperty, setProperty, unsetIsVisible
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.GraphElement
createContained, createContainedConnector, createContainedEdge, createContainedGraphElement, createContainedNode, createContainedTextElement, createSimpleContainedNode, getAllContainedEdges, getAllContainedEdges, getAllContainedEdges, getAllContainedNodes, getAllContainedNodes, getAllContainedNodes, getAllContainedNodes, getAnchorage, getContained, getContainedEdges, getContainedEdges, getContainedEdges, getContainedNodes, getContainedNodes, getContainedNodes, getContainedNodes, getLink, getPosition, getSemanticElement, getSemanticModel, getSemanticTypeInfo, setPosition, setPosition, setSemanticElement, setSemanticModel, setSemanticTypeInfo
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
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
-
-
-
-
Method Detail
-
getViewport
Point getViewport()
Returns the value of the 'Viewport' containment reference.- Returns:
- the value of the 'Viewport' containment reference.
- See Also:
setViewport(Point)
,UMLPackage.getDiagram_Viewport()
-
setViewport
void setViewport(Point value)
Sets the value of the 'Viewport
' containment reference.- Parameters:
value
- the new value of the 'Viewport' containment reference.- See Also:
getViewport()
-
getDiagramLink
MDWEList<DiagramLink> getDiagramLink()
Returns the value of the 'Diagram Link' reference list. The list contents are of typeDiagramLink
. It is bidirectional and its opposite is 'Diagram
'.- Returns:
- the value of the 'Diagram Link' reference list.
- See Also:
UMLPackage.getDiagram_DiagramLink()
,DiagramLink.getDiagram()
-
getOwner
SemanticModelBridge getOwner()
Returns the value of the 'Owner' containment reference. It is bidirectional and its opposite is 'Diagram
'.- Returns:
- the value of the 'Owner' containment reference.
- See Also:
setOwner(SemanticModelBridge)
,UMLPackage.getDiagram_Owner()
,SemanticModelBridge.getDiagram()
-
setOwner
void setOwner(SemanticModelBridge value)
Sets the value of the 'Owner
' containment reference.- Parameters:
value
- the new value of the 'Owner' containment reference.- See Also:
getOwner()
-
getOwnerElement
Element getOwnerElement()
Returns the SemanticElement
that owns the Diagram.- Returns:
- the Semantic Element
- Since:
- 3.3.0
- See Also:
getOwner()
,CoreSemanticModelBridge.getElement()
-
setOwnerElement
void setOwnerElement(Element element)
Set the SemanticElement
that owns the Diagram.- Parameters:
element
- the Semantic Element- Since:
- 3.3.0
- See Also:
com.sodius.mdw.metamodel.uml21.Diagram#setOwner()
,com.sodius.mdw.metamodel.uml21.CoreSemanticModelBridge#setElement()
-
getName
String getName()
Returns the value of the 'Name' attribute. The default value is""
.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String)
,UMLPackage.getDiagram_Name()
-
setName
void setName(String value)
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
getName()
-
getZoom
double getZoom()
Returns the value of the 'Zoom' attribute.- Returns:
- the value of the 'Zoom' attribute.
- See Also:
isSetZoom()
,unsetZoom()
,setZoom(double)
,UMLPackage.getDiagram_Zoom()
-
setZoom
void setZoom(double value)
Sets the value of the 'Zoom
' attribute.- Parameters:
value
- the new value of the 'Zoom' attribute.- See Also:
isSetZoom()
,unsetZoom()
,getZoom()
-
unsetZoom
void unsetZoom()
Unsets the value of the 'Zoom
' attribute.- See Also:
isSetZoom()
,getZoom()
,setZoom(double)
-
isSetZoom
boolean isSetZoom()
Returns whether the value of the 'Zoom
' attribute is set.- Returns:
- whether the value of the 'Zoom' attribute is set.
- See Also:
unsetZoom()
,getZoom()
,setZoom(double)
-
-