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

umbrello/umbrello

MySQLWriter Class Reference

#include <mysqlwriter.h>

Inheritance diagram for MySQLWriter:

Inheritance graph
[legend]

List of all members.


Detailed Description

class MySQLWriter is a sql code generator for MySQL Create an instance of this class, and feed it a UMLClassifier when calling writeClass and it will generate a sql source file for that concept

Definition at line 27 of file mysqlwriter.h.


Public Member Functions

 MySQLWriter ()
virtual ~MySQLWriter ()
Uml::Programming_Language getLanguage ()
QStringList defaultDatatypes ()
void printForeignKeyConstraints (QTextStream &sql, UMLClassifierListItemList constrList)
void printCheckConstraints (QTextStream &sql, UMLClassifierListItemList constrList)

Protected Member Functions

void printAutoIncrements (QTextStream &sql, UMLEntityAttributeList entAttList)

Constructor & Destructor Documentation

MySQLWriter::MySQLWriter (  ) 

Definition at line 26 of file mysqlwriter.cpp.

MySQLWriter::~MySQLWriter (  )  [virtual]

Definition at line 29 of file mysqlwriter.cpp.


Member Function Documentation

Uml::Programming_Language MySQLWriter::getLanguage (  )  [virtual]

returns "MySQL"

Reimplemented from SQLWriter.

Definition at line 32 of file mysqlwriter.cpp.

QStringList MySQLWriter::defaultDatatypes (  )  [virtual]

Reimplement method from CodeGenerator.

Reimplemented from SQLWriter.

Definition at line 36 of file mysqlwriter.cpp.

void MySQLWriter::printForeignKeyConstraints ( QTextStream &  sql,
UMLClassifierListItemList  constrList 
) [virtual]

Reimplemented method from SQLWriter.

Reimplemented from SQLWriter.

Definition at line 76 of file mysqlwriter.cpp.

void MySQLWriter::printCheckConstraints ( QTextStream &  sql,
UMLClassifierListItemList  constrList 
) [virtual]

Reimplemented from Base Class to print warning.

Reimplemented from SQLWriter.

Definition at line 143 of file mysqlwriter.cpp.

void MySQLWriter::printAutoIncrements ( QTextStream &  sql,
UMLEntityAttributeList  entAttList 
) [protected, virtual]

Reimplement printAutoIncrements from Base Class for MySQL.

Reimplemented from SQLWriter.

Definition at line 102 of file mysqlwriter.cpp.


The documentation for this class was generated from the following files:
  • mysqlwriter.h
  • mysqlwriter.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