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

Public Member Functions | |
| UMLComponent (const QString &name="", Uml::IDType id=Uml::id_None) | |
| Sets up a Component. | |
| virtual | ~UMLComponent () |
| Empty deconstructor. | |
| virtual void | init () |
| Initializes key variables of the class. | |
| virtual UMLObject * | clone () const |
| Make a clone of this object. | |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| Creates the UML:Component element including its operations, attributes and templates. | |
| void | setExecutable (bool executable) |
| sets m_executable | |
| bool | getExecutable () |
| returns the value of m_executable | |
Protected Member Functions | |
| bool | load (QDomElement &element) |
| Loads the UML:Component element including its operations, attributes and templates. | |
Detailed Description
This class contains the non-graphical information required for a UML Component. Non-graphical information for a Component.This class inherits from UMLPackage which contains most of the information.
- Author:
- Jonathan Riddell
- See also:
- UMLCanvasObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 31 of file component.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Sets up a Component.
Definition at line 23 of file component.cpp. References init(). Referenced by clone(). |
|
|
Empty deconstructor.
Definition at line 28 of file component.cpp. |
Member Function Documentation
|
|
Initializes key variables of the class.
Reimplemented from UMLPackage. Definition at line 31 of file component.cpp. Referenced by UMLComponent(). |
|
|
Make a clone of this object.
Reimplemented from UMLPackage. Definition at line 36 of file component.cpp. References clone(), UMLObject::copyInto(), and UMLComponent(). Referenced by clone(). |
|
||||||||||||
|
Creates the UML:Component element including its operations, attributes and templates.
Reimplemented from UMLPackage. Definition at line 42 of file component.cpp. References UMLObject::save(). |
|
|
sets m_executable
Definition at line 92 of file component.cpp. |
|
|
returns the value of m_executable
Definition at line 96 of file component.cpp. Referenced by ComponentWidget::draw(). |
|
|
Loads the UML:Component element including its operations, attributes and templates.
Reimplemented from UMLPackage. Definition at line 55 of file component.cpp. References UMLPackage::addObject(), UMLObject::loadFromXMI(), and UMLObject::setUMLPackage(). |
The documentation for this class was generated from the following files:
