Documentation
Documentation
is defined in KerML specification on
page 44.
Excerpt from the machine readable specification:
Documentation
is aComment
that specifically documents adocumentedElement
, which must be itsowner
.
The following diagram shows the inheritance hierarchy of Documentation
according to the specification:
![// Class: Documentation
digraph {
Documentation [label="Documentation (KerML)" shape=plaintext]
Comment -> Documentation
Comment [label="Comment (KerML)" shape=plaintext]
AnnotatingElement -> Comment
AnnotatingElement [label="AnnotatingElement (KerML)" shape=plaintext]
Element -> AnnotatingElement
Element [label="Element (KerML)" shape=plaintext]
}](../../../_images/graphviz-884b46c84fe28eefcebd2d44be8326d0c90b87ff.png)
The following table shows all attributes defined for
Documentation
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 |
|
Attributes defined in |
|
The annotation text for the |
|
Identification of the language of the |
|
Attributes defined in |
|
The |
|
The |
|
The |
|
The |
|
Attributes defined in |
|
The declared name of this |
|
An optional alternative name for the |
|
The Documentation owned by this Element. |
|
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. |
|
Whether all necessary implied Relationships have been included in the
|
|
Whether this Element is contained in the ownership tree of a library model. |
|
The name to be used for this |
|
The |
|
The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of this Element. |
|
The Relationships for which this Element is the owningRelatedElement. |
|
The owner of this Element, derived as the |
|
The |
|
The |
|
The Relationship for which this Element is an ownedRelatedElement, if any. |
|
The full ownership-qualified name of this |
|
The short name to be used for this |
|
The |
The following table lists SysIDE specific attributes available for
class Documentation
:
Python Attribute |
- class Documentation
-
- STD: tuple[type[syside.Documentation], ...] = ()
- property documented_element: syside.Element | None
- 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