AnnotatingElement
AnnotatingElement
is defined in KerML specification on
page 146.
Excerpt from the machine readable specification:
An
AnnotatingElement
is anElement
that provides additional description of or metadata on some otherElement
. AnAnnotatingElement
is either attached to itsannotatedElements
byAnnotation
Relationships
, or it implicitly annotates itsowningNamespace
.
The following diagram shows the inheritance hierarchy of AnnotatingElement
according to the specification:
The following table shows all attributes defined for
AnnotatingElement
according to the specification together with
the documentation from the machine readable specification. Note
that in SysIDE API, we use snake case for attribute names
instead of Pascal case used in the specification.
Attribute |
Documentation from machine readable specification |
Attributes defined in |
|
The |
|
The |
|
The |
|
The |
|
Attributes defined in |
|
The globally unique identifier for this Element. This is intended to be set by tooling, and it must not change during the lifetime of the Element. |
|
An optional alternative name for the |
|
The declared name of this |
|
The short name to be used for this |
|
The name to be used for this |
|
The full ownership-qualified name of this |
|
Whether all necessary implied Relationships have been included in the
|
|
Whether this Element is contained in the ownership tree of a library model. |
|
The |
|
The Relationships for which this Element is the owningRelatedElement. |
|
The Relationship for which this Element is an ownedRelatedElement, if any. |
|
The |
|
The owner of this Element, derived as the |
|
The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of this Element. |
|
The Documentation owned by this Element. |
|
The |
|
The |
The following table lists SysIDE specific attributes available for
class AnnotatingElement
:
- class AnnotatingElement
-
- STD: tuple[Union[type[syside.AnnotatingElement], type[MetadataFeature], type[MetadataUsage]], ...] = ()
- property annotations: syside.ContainerView[syside.Annotation]
- property annotated_elements: syside.ContainerView[syside.Element]
- property owned_annotating_relationships: syside.ContainerView[syside.Annotation]
- property owning_annotating_relationship: syside.Annotation | None
- property about: syside.Annotations