• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

UMLComponent Class Reference

This class contains the non-graphical information required for a UML Component. More...

#include <component.h>

Inheritance diagram for UMLComponent:
Inheritance graph
[legend]

List of all members.

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.

Author:
Jonathan Riddell
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:
  • component.h
  • component.cpp

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal