[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Feb 9 11:06:06 UTC 2005


CVS commit by okellogg: 

Constructor: Explain why parent is only a "weak" UMLObject.


  M +10 -0     classifierlistitem.h   1.21


--- kdesdk/umbrello/umbrello/classifierlistitem.h  #1.20:1.21
@@ -39,4 +39,9 @@ public:
          *
          * @param parent        The parent to this operation.
+         *              At first sight it would appear that the type of the
+         *              parent should be UMLClassifier. However, the class
+         *              UMLAttribute is also used for the parameters of
+         *              operations, and in this case the UMLOperation is the
+         *              parent.
          * @param name          The name of the operation.
          * @param id            The id of the operation.
@@ -48,4 +53,9 @@ public:
          *
          * @param parent        The parent to this operation.
+         *              At first sight it would appear that the type of the
+         *              parent should be UMLClassifier. However, the class
+         *              UMLAttribute is also used for the parameters of
+         *              operations, and in this case the UMLOperation is the
+         *              parent.
          */
         UMLClassifierListItem(const UMLObject *parent);






More information about the umbrello-devel mailing list