umbrello/umbrello
UMLCategory Class Reference
#include <category.h>

Detailed Description
This class contains the non-graphical information required for a UML Category.This class inherits from UMLCanvasObject which contains most of the information. The UMLDoc class creates instances of this type.
Information for a non-graphical UML Category.
- See also:
- UMLCanvasObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 28 of file category.h.
Public Types | |
| enum | Category_Type { ct_Disjoint_Specialisation, ct_Overlapping_Specialisation, ct_Union } |
Public Member Functions | |
| UMLCategory (const QString &name=QString(), Uml::IDType id=Uml::id_None) | |
| ~UMLCategory () | |
| virtual void | init () |
| void | copyInto (UMLObject *lhs) const |
| virtual UMLObject * | clone () const |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| UMLCategory::Category_Type | getType () |
| void | setType (Category_Type type) |
Protected Member Functions | |
| bool | load (QDomElement &element) |
Member Enumeration Documentation
Definition at line 32 of file category.h.
Constructor & Destructor Documentation
| UMLCategory::UMLCategory | ( | const QString & | name = QString(), |
|
| Uml::IDType | id = Uml::id_None | |||
| ) | [explicit] |
Constructs an Category.
- Parameters:
-
name The name of the Category. id The unique id to assign to this Category.
Definition at line 14 of file category.cpp.
| UMLCategory::~UMLCategory | ( | ) |
Member Function Documentation
| void UMLCategory::init | ( | ) | [virtual] |
Initializes key variables of the class.
Reimplemented from UMLCanvasObject.
Definition at line 20 of file category.cpp.
| void UMLCategory::copyInto | ( | UMLObject * | lhs | ) | const [virtual] |
Copy the internal presentation of this object into the new object.
Reimplemented from UMLCanvasObject.
Definition at line 25 of file category.cpp.
| UMLObject * UMLCategory::clone | ( | ) | const [virtual] |
| void UMLCategory::saveToXMI | ( | QDomDocument & | qDoc, | |
| QDomElement & | qElement | |||
| ) | [virtual] |
Creates the <UML:Category> XMI element.
Implements UMLObject.
Definition at line 40 of file category.cpp.
| UMLCategory::Category_Type UMLCategory::getType | ( | ) |
| void UMLCategory::setType | ( | Category_Type | type | ) |
| bool UMLCategory::load | ( | QDomElement & | element | ) | [protected, virtual] |
Loads the <UML:Category> XMI element (empty.
)
Reimplemented from UMLObject.
Definition at line 46 of file category.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference