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

umbrello/umbrello

UMLArtifact Class Reference

#include <artifact.h>

Inheritance diagram for UMLArtifact:

Inheritance graph
[legend]

List of all members.


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.

Author:
Jonathan Riddell
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

enum UMLArtifact::Draw_Type

Artifacts can be drawn using one of several icons.

Enumerator:
defaultDraw 
file 
library 
table 

Definition at line 36 of file artifact.h.


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]

Standard deconstructor.

Definition at line 23 of file artifact.cpp.


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]

Make a clone of this object.

Implements UMLObject.

Definition at line 31 of file artifact.cpp.

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 (  ) 

returns the value of m_drawAsType

Definition at line 53 of file artifact.cpp.

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:
  • artifact.h
  • artifact.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"
  • kate
  •     kate
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.4
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