class UMLUseCase

Information for a non-graphical UML UseCase. More...

Definition#include <./usecase.h>
InheritsUMLObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class contains the non-graphical information required for a UML UseCase. This class inherits from UMLObject which contains most of the information. The UMLDoc class creates instances of this type. All UseCases will need a unique id. This will be given by the UMLDoc class. If you don't leave it up to the UMLDoc class then call the method UMLDoc::getUniqueID to get a unique id.

 UMLUseCase (QObject * parent, QString Name, int id)

UMLUseCase

Creates a UseCase object

Parameters:
parentThe parent of the object.
nameThe name of the object.
idThe id of the object.

 UMLUseCase (QObject * parent)

UMLUseCase

Creates a UseCase object

Parameters:
parentThe parent of the object.

 ~UMLUseCase ()

~UMLUseCase

Standard deconstructor

bool  serialize (QDataStream * s, bool archive)

serialize

[virtual]

Use to save or load this classes information

Parameters:
sPointer to the datastream (file) to save/load from.
archiveIf true will save the classes information, else will load the information.

Returns: Returns the status of the operation.

Reimplemented from UMLObject.

long  getClipSizeOf ()

getClipSizeOf

[virtual]

Returns the amount of bytes needed to serialize an instance object to the clipboard

Reimplemented from UMLObject.

bool  saveToXMI ( QDomDocument & qDoc, QDomElement & qElement )

saveToXMI

Reimplemented from UMLObject.

bool  loadFromXMI ( QDomElement & element )

loadFromXMI

Reimplemented from UMLObject.