public interface DiagramElement extends MDWEObject
The following features are supported:
UMLPackage.getDiagramElement()
Modifier and Type | Method and Description |
---|---|
GraphElement |
getContainer()
Returns the value of the 'Container' container reference.
|
Diagram |
getDiagram()
Returns the owning
Diagram of the current
Diagram Element . |
MDWEList<DiagramProperty> |
getProperty()
Returns the value of the 'Property' containment reference list.
|
String |
getProperty(String key)
Returns the
Diagram Property String value corresponding to the specified
property key for the current
Diagram Element . |
boolean |
getProperty(String key,
boolean defaultValue)
Returns the
Diagram Property boolean value corresponding to the specified
property key for the current
Diagram Element . |
String |
getProperty(String key,
String defaultValue)
Returns the
Diagram Property String value corresponding to the specified
property key for the current
Diagram Element . |
MDWEList<Reference> |
getReference()
Returns the value of the 'Reference' reference list.
|
boolean |
isSetIsVisible()
Returns whether the value of the '
Is Visible ' attribute is set |
boolean |
isVisible()
Returns the value of the 'Is Visible' attribute
|
DiagramProperty |
removeProperty(String key)
Removes the
Diagram Property having the key 'key' from the list of properties
of the current Diagram Element . |
void |
setContainer(GraphElement value)
Sets the value of the '
Container ' container reference |
void |
setIsVisible(boolean value)
Sets the value of the '
Is Visible ' attribute |
void |
setProperty(String key,
boolean value)
Set the value with the specified boolean 'value' to the
Diagram Property having
a key
set to the specified 'key'. |
void |
setProperty(String key,
String value)
Set the value with the specified String 'value' to the
Diagram Property having
a key
set to the specified 'key'. |
void |
unsetIsVisible()
Unsets the value of the '
Is Visible ' attribute |
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
MDWEList<DiagramProperty> getProperty()
DiagramProperty
.
UMLPackage.getDiagramElement_Property()
MDWEList<Reference> getReference()
Reference
.
It is bidirectional and its opposite is 'Referenced
'.
UMLPackage.getDiagramElement_Reference()
,
Reference.getReferenced()
boolean isVisible()
isSetIsVisible()
,
unsetIsVisible()
,
setIsVisible(boolean)
,
UMLPackage.getDiagramElement_IsVisible()
void setIsVisible(boolean value)
Is Visible
' attribute.
value
- the new value of the 'Is Visible' attribute.isSetIsVisible()
,
unsetIsVisible()
,
isVisible()
void unsetIsVisible()
Is Visible
' attribute.
isSetIsVisible()
,
isVisible()
,
setIsVisible(boolean)
boolean isSetIsVisible()
Is Visible
' attribute is set.
unsetIsVisible()
,
isVisible()
,
setIsVisible(boolean)
GraphElement getContainer()
Contained
'.
setContainer(GraphElement)
,
UMLPackage.getDiagramElement_Container()
,
GraphElement.getContained()
void setContainer(GraphElement value)
Container
' container reference.
value
- the new value of the 'Container' container reference.getContainer()
String getProperty(String key)
Diagram Property
String value corresponding to the specified
property key for the current
Diagram Element
.key
- the Diagram Property keygetProperty()
,
getProperty(String, boolean)
,
getProperty(String, String)
String getProperty(String key, String defaultValue)
Diagram Property
String value corresponding to the specified
property key for the current
Diagram Element
.key
- the Diagram Property keydefaultValue
- the String default valuegetProperty()
,
getProperty(String)
,
getProperty(String, boolean)
boolean getProperty(String key, boolean defaultValue)
Diagram Property
boolean value corresponding to the specified
property key for the current
Diagram Element
.key
- the Diagram Property keydefaultValue
- the boolean default valuegetProperty()
,
getProperty(String)
,
getProperty(String, String)
void setProperty(String key, String value)
Diagram Property
having
a key
set to the specified 'key'.Diagram Property
exists with the key, a new
Diagram Property
is created.key
- the Diagram Property keyvalue
- the Diagram Property String valuevoid setProperty(String key, boolean value)
Diagram Property
having
a key
set to the specified 'key'.Diagram Property
exists with the key, a new
Diagram Property
is created.key
- the Diagram Property keyvalue
- the Diagram Property boolean valueDiagramProperty removeProperty(String key)
Diagram Property
having the key 'key' from the list of properties
of the current Diagram Element
.key
- the Diagram Property keyDiagram getDiagram()
Diagram
of the current
Diagram Element
.