Commit 2568815a authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/uml1model/{umlcanvasobject,package}.h : Augment documentation.

parent bd8b3b1c
...@@ -71,6 +71,14 @@ protected: ...@@ -71,6 +71,14 @@ protected:
/** /**
* References to the objects contained in this package. * References to the objects contained in this package.
* The UMLPackage is the owner of the objects. * The UMLPackage is the owner of the objects.
* The objects stored here are "standalone" objects which have an existence
* on their own (such as classifiers, packages).
* On the other hand, the objects stored in UMLCanvasObject::m_List are
* "subordinate" objects which cannot exist on their own (such as attributes,
* operations). They are always slaved to a "standalone" object.
*
* This design may be revisited - m_objects could be merged into
* UMLCanvasObject::m_List.
*/ */
UMLObjectList m_objects; UMLObjectList m_objects;
......
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
* information. * information.
* It is not instantiated itself, it's just used as a super class for * It is not instantiated itself, it's just used as a super class for
* actual model objects. * actual model objects.
* It adds a member of type UMLObjectList containing subordinate objects.
* The subordinate objects could be associations, attributes, operations,
* or other items depending on the inheriting class.
* *
* @short Non-graphical information for a UMLCanvasObject. * @short Non-graphical information for a UMLCanvasObject.
* @author Jonathan Riddell * @author Jonathan Riddell
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment