umbrello/umbrello
UMLComponent Class Reference
#include <component.h>

Detailed Description
This class contains the non-graphical information required for a UML Component.This class inherits from UMLPackage which contains most of the information.
Non-graphical information for a Component.
- See also:
- UMLCanvasObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 30 of file component.h.
Public Member Functions | |
| UMLComponent (const QString &name=QString(), Uml::IDType id=Uml::id_None) | |
| virtual | ~UMLComponent () |
| virtual void | init () |
| virtual UMLObject * | clone () const |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| void | setExecutable (bool executable) |
| bool | getExecutable () |
Protected Member Functions | |
| bool | load (QDomElement &element) |
Constructor & Destructor Documentation
| UMLComponent::UMLComponent | ( | const QString & | name = QString(), |
|
| Uml::IDType | id = Uml::id_None | |||
| ) | [explicit] |
Sets up a Component.
- Parameters:
-
name The name of the Concept. id The unique id of the Concept.
Definition at line 23 of file component.cpp.
| UMLComponent::~UMLComponent | ( | ) | [virtual] |
Member Function Documentation
| void UMLComponent::init | ( | ) | [virtual] |
Initializes key variables of the class.
Reimplemented from UMLCanvasObject.
Definition at line 31 of file component.cpp.
| UMLObject * UMLComponent::clone | ( | ) | const [virtual] |
Make a clone of this object.
Reimplemented from UMLPackage.
Definition at line 36 of file component.cpp.
| void UMLComponent::saveToXMI | ( | QDomDocument & | qDoc, | |
| QDomElement & | qElement | |||
| ) | [virtual] |
Creates the UML:Component element including its operations, attributes and templates.
Reimplemented from UMLPackage.
Definition at line 42 of file component.cpp.
| void UMLComponent::setExecutable | ( | bool | executable | ) |
| bool UMLComponent::getExecutable | ( | ) |
| bool UMLComponent::load | ( | QDomElement & | element | ) | [protected, virtual] |
Loads the UML:Component element including its operations, attributes and templates.
Reimplemented from UMLPackage.
Definition at line 57 of file component.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference