umbrello/umbrello
UMLArtifact Class Reference
#include <artifact.h>

Detailed Description
This class contains the non-graphical information required for a UML Artifact.This class inherits from UMLCanvasObject which contains most of the information.
Non-graphical information for a Artifact.
- See also:
- UMLCanvasObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 29 of file artifact.h.
Public Types | |
| enum | Draw_Type { defaultDraw, file, library, table } |
Public Member Functions | |
| UMLArtifact (const QString &name=QString(), Uml::IDType id=Uml::id_None) | |
| virtual | ~UMLArtifact () |
| virtual void | init () |
| virtual UMLObject * | clone () const |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| void | setDrawAsType (Draw_Type type) |
| Draw_Type | getDrawAsType () |
Protected Member Functions | |
| bool | load (QDomElement &element) |
Member Enumeration Documentation
Constructor & Destructor Documentation
| UMLArtifact::UMLArtifact | ( | const QString & | name = QString(), |
|
| Uml::IDType | id = Uml::id_None | |||
| ) | [explicit] |
Sets up a Artifact.
- Parameters:
-
Name The name of the Concept. id The unique id of the Concept.
Definition at line 18 of file artifact.cpp.
| UMLArtifact::~UMLArtifact | ( | ) | [virtual] |
Member Function Documentation
| void UMLArtifact::init | ( | ) | [virtual] |
Initializes key variables of the class.
Reimplemented from UMLCanvasObject.
Definition at line 26 of file artifact.cpp.
| UMLObject * UMLArtifact::clone | ( | ) | const [virtual] |
| void UMLArtifact::saveToXMI | ( | QDomDocument & | qDoc, | |
| QDomElement & | qElement | |||
| ) | [virtual] |
Creates the UML:Artifact element including its operations, attributes and templates.
Implements UMLObject.
Definition at line 37 of file artifact.cpp.
| void UMLArtifact::setDrawAsType | ( | Draw_Type | type | ) |
sets m_drawAsType for which method to draw the artifact as
Definition at line 49 of file artifact.cpp.
| UMLArtifact::Draw_Type UMLArtifact::getDrawAsType | ( | ) |
| bool UMLArtifact::load | ( | QDomElement & | element | ) | [protected, virtual] |
Loads the UML:Artifact element including its operations, attributes and templates.
Reimplemented from UMLObject.
Definition at line 43 of file artifact.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference