Class UML 2.4.1::Comment
Description:
A comment is a textual annotation that can be attached to a set of elements.
Direct Superclasses: ElementDirect Subclasses: Class Precedence List: Comment,
ElementProperties:
![](/se-interop/image/right-arrow.png?hunchentoot-session=893%3A97B13E77862AD9D6F3D1E28E66FDBE2F)
annotatedElement :
Element (0 *); -- source
CommentReferences the Element(s) being commented.
![](/se-interop/image/down-arrow.png?hunchentoot-session=893%3A97B13E77862AD9D6F3D1E28E66FDBE2F)
body : String (0 1); -- source
Comment![](/se-interop/image/down-arrow.png?hunchentoot-session=893%3A97B13E77862AD9D6F3D1E28E66FDBE2F)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/right-arrow.png?hunchentoot-session=893%3A97B13E77862AD9D6F3D1E28E66FDBE2F)
ownedElement :
Element (0 *); -- source
ElementThe Elements owned by this element.
{
composite,
readonly}
Derived union with sources: (ownedComment)
Opposite: Element.owner
![](/se-interop/image/down-arrow.png?hunchentoot-session=893%3A97B13E77862AD9D6F3D1E28E66FDBE2F)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: CMOF_14_3_18a() : Boolean;
Description: 14.3 [18] Comments may only annotate instances of NamedElement
Expression: annotatedElement->forAll(e | e.oclIsKindOf(NamedElement))
Operations:
No additional operations.
Send questions or comments to
[email protected].