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:
annotatedElement :
Element (0 *); -- source
Comment body : String (0 1); -- source
Comment ownedComment :
Comment (0 *); -- source
ElementThe Comments owned by this element.
{
composite}
Subsets: Element.ownedElement
ownedElement :
Element (0 *); -- source
Element owner :
Element (0 1); -- source
ElementThe Element that owns this element.
{
readonly}
Derived union with sources: ()
Opposite: Element.ownedElement
Constraints:
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].