[Uml-devel] kdesdk/umbrello/umbrello

Brian Thomas thomas at mail630.gsfc.nasa.gov
Thu Sep 11 10:05:51 UTC 2003


CVS commit by thomas: 

remove extraneous 'Id' attribute. We can use ID from parent umlobject class instead


  M +1 -15     umlrole.h   1.2


--- kdesdk/umbrello/umbrello/umlrole.h  #1.1:1.2
@@ -51,11 +51,4 @@ public:
 
         /**
-         *      Returns the ID of the UMLObject assigned to the role.
-         *
-         *      @return         Pointer to the UMLObject of role.
-         */
-        int getId() const;
-
-        /**
          *      Returns the Changeablity of the role.
          *
@@ -91,10 +84,4 @@ public:
 
         /**
-         *      Sets the ID of the UMLObject playing in the role.
-         *      @param  id of the UMLObject of role.
-         */
-        void setId(int roleId);
-
-        /**
          *      Sets the UMLObject playing the role in the association.
          *      @param  pointer to the UMLObject of role.
@@ -145,5 +132,5 @@ protected:
 
         /** do some initialization at construction time */
-        void init ();
+        void init (UMLAssociation * parent);
 
         /**
@@ -155,5 +142,4 @@ protected:
          */
 
-        int m_Id;
         QString m_Doc;
         UMLObject* m_pObject;






More information about the umbrello-devel mailing list