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

Public Types | |
| enum | Draw_Type { defaultDraw, file, library, table } |
| Artifacts can be drawn using one of several icons. More... | |
Public Member Functions | |
| UMLArtifact (const QString &Name="", Uml::IDType id=Uml::id_None) | |
| Sets up a Artifact. | |
| virtual | ~UMLArtifact () |
| Standard 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:Artifact element including its operations, attributes and templates. | |
| void | setDrawAsType (Draw_Type type) |
| sets m_drawAsType for which method to draw the artifact as | |
| Draw_Type | getDrawAsType () |
| returns the value of m_drawAsType | |
Protected Member Functions | |
| bool | load (QDomElement &element) |
| Loads the UML:Artifact element including its operations, attributes and templates. | |
Detailed Description
This class contains the non-graphical information required for a UML Artifact. Non-graphical information for a Artifact.This class inherits from UMLCanvasObject 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 30 of file artifact.h.
Member Enumeration Documentation
|
|
Artifacts can be drawn using one of several icons.
Definition at line 37 of file artifact.h. |
Constructor & Destructor Documentation
|
||||||||||||
|
Sets up a Artifact.
Definition at line 18 of file artifact.cpp. References init(). Referenced by clone(). |
|
|
Standard deconstructor.
Definition at line 23 of file artifact.cpp. |
Member Function Documentation
|
|
Initializes key variables of the class.
Reimplemented from UMLCanvasObject. Definition at line 26 of file artifact.cpp. Referenced by UMLArtifact(). |
|
|
Make a clone of this object.
Implements UMLObject. Definition at line 31 of file artifact.cpp. References clone(), UMLObject::copyInto(), and UMLArtifact(). Referenced by clone(). |
|
||||||||||||
|
Creates the UML:Artifact element including its operations, attributes and templates.
Implements UMLObject. Definition at line 37 of file artifact.cpp. References UMLObject::save(). |
|
|
sets m_drawAsType for which method to draw the artifact as
Definition at line 49 of file artifact.cpp. |
|
|
returns the value of m_drawAsType
Definition at line 53 of file artifact.cpp. Referenced by ArtifactWidget::calculateSize(), and ArtifactWidget::draw(). |
|
|
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:
