Class UML 2.5::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/down-arrow.png?hunchentoot-session=128224%3AE1044D39F8DF06C3C30843742060ADB0)
annotatedElement :
Element (0 *); -- source
Comment![](/se-interop/image/down-arrow.png?hunchentoot-session=128224%3AE1044D39F8DF06C3C30843742060ADB0)
body : String (0 1); -- source
Comment![](/se-interop/image/down-arrow.png?hunchentoot-session=128224%3AE1044D39F8DF06C3C30843742060ADB0)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=128224%3AE1044D39F8DF06C3C30843742060ADB0)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=128224%3AE1044D39F8DF06C3C30843742060ADB0)
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].