umbrello API Documentation

UMLNode Class Reference

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

#include <node.h>

Inheritance diagram for UMLNode:

UMLCanvasObject UMLObject List of all members.

Public Member Functions

 UMLNode (const QString &name="", Uml::IDType id=Uml::id_None)
 Sets up a Node.
virtual ~UMLNode ()
 Empty deconstructor.
virtual void init ()
 Initializes key variables of the class.
virtual UMLObjectclone () const
 Make a clone of this object.
void saveToXMI (QDomDocument &qDoc, QDomElement &qElement)
 Creates the <UML:Node> XMI element.

Protected Member Functions

bool load (QDomElement &element)
 Loads the <UML:Node> XMI element (empty.).

Detailed Description

This class contains the non-graphical information required for a UML Node. Non-graphical information for a Node.

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 29 of file node.h.


Constructor & Destructor Documentation

UMLNode::UMLNode const QString &  name = "",
Uml::IDType  id = Uml::id_None
[explicit]
 

Sets up a Node.

Parameters:
name The name of the Concept.
id The unique id of the Concept.

Definition at line 16 of file node.cpp.

References init().

Referenced by clone().

UMLNode::~UMLNode  )  [virtual]
 

Empty deconstructor.

Definition at line 21 of file node.cpp.


Member Function Documentation

void UMLNode::init  )  [virtual]
 

Initializes key variables of the class.

Reimplemented from UMLCanvasObject.

Definition at line 24 of file node.cpp.

Referenced by UMLNode().

UMLObject * UMLNode::clone  )  const [virtual]
 

Make a clone of this object.

Implements UMLObject.

Definition at line 28 of file node.cpp.

References clone(), UMLObject::copyInto(), and UMLNode().

Referenced by clone().

void UMLNode::saveToXMI QDomDocument &  qDoc,
QDomElement &  qElement
[virtual]
 

Creates the <UML:Node> XMI element.

Implements UMLObject.

Definition at line 34 of file node.cpp.

References UMLObject::save().

bool UMLNode::load QDomElement &  element  )  [protected, virtual]
 

Loads the <UML:Node> XMI element (empty.).

Reimplemented from UMLObject.

Definition at line 39 of file node.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:07 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003