umbrello/umbrello
MySQLWriter Class Reference
#include <mysqlwriter.h>
Inheritance diagram for MySQLWriter:

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 conceptDefinition 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] |
| 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:
KDE 4.0 API Reference