umbrello/umbrello
UMLComponent Class Reference
This class contains the non-graphical information required for a UML Component. More...
#include <component.h>

Public Member Functions | |
| UMLComponent (const QString &name=QString(), Uml::IDType id=Uml::id_None) | |
| virtual | ~UMLComponent () |
| virtual UMLObject * | clone () const |
| bool | getExecutable () |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| void | setExecutable (bool executable) |
Protected Member Functions | |
| bool | load (QDomElement &element) |
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 27 of file component.h.
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 27 of file component.cpp.
| UMLComponent::~UMLComponent | ( | ) | [virtual] |
Destructor.
Definition at line 37 of file component.cpp.
Member Function Documentation
| UMLObject * UMLComponent::clone | ( | ) | const [virtual] |
Make a clone of this object.
Reimplemented from UMLPackage.
Definition at line 44 of file component.cpp.
| bool UMLComponent::getExecutable | ( | ) |
Returns the value of m_executable.
Definition at line 122 of file component.cpp.
| bool UMLComponent::load | ( | QDomElement & | element | ) | [protected, virtual] |
Loads the UML:Component element including its operations, attributes and templates.
Reimplemented from UMLPackage.
Definition at line 75 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 55 of file component.cpp.
| void UMLComponent::setExecutable | ( | bool | executable | ) |
Sets m_executable.
Definition at line 114 of file component.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference