Class MysqlSettings
This class manages settings concerning MYSQL, configured through
the 'Generation settings' dialog.
This class may be defined as a 'singleton', but I prefer to use static
members allowing to just write 'MysqlSettings::member' rather than
'MysqlSettings::instance()->member' or other long sentence like this.
Declaration :
Artifact : MysqlSettings
returns TRUE when the created MySql objects are initialized
with the default definition
Declaration :
- Uml : static, + useDefaults() : bool
- C++ : public: static bool useDefaults()
- Java : public static boolean useDefaults()
Operation set_UseDefaults |
if y is TRUE the future created MySql objects will be initialized
with the default definition
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
- Uml : static, + set_UseDefaults(in y : bool) : bool, exceptions : RuntimeException
- C++ : public: static bool set_UseDefaults(bool y)
- Java : public static void set_UseDefaults(boolean y) throws RuntimeException
return the 'root' directory
Declaration :
- Uml : static, + rootDir() : string
- C++ : public: static const QByteArray & rootDir()
- Java : public static String rootDir()
set the 'root' directory
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
- Uml : static, + set_RootDir(in v : string) : bool, exceptions : RuntimeException
- C++ : public: static bool set_RootDir(QByteArray v)
- Java : public static void set_RootDir(String v) throws RuntimeException
returns the default source file content
Declaration :
- Uml : static, + sourceContent() : string
- C++ : public: static const QByteArray & sourceContent()
- Java : public static String sourceContent()
Operation set_SourceContent |
set the default source file content
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
- Uml : static, + set_SourceContent(in v : string) : bool, exceptions : RuntimeException
- C++ : public: static bool set_SourceContent(QByteArray v)
- Java : public static void set_SourceContent(String v) throws RuntimeException
Operation sourceExtension |
returns the extension of the file produced by the MYSQL code generator
Declaration :
- Uml : static, + sourceExtension() : string
- C++ : public: static const QByteArray & sourceExtension()
- Java : public static String sourceExtension()
Operation set_SourceExtension |
set the extension of the file produced by the MYSQL code generator
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
- Uml : static, + set_SourceExtension(in v : string) : bool, exceptions : RuntimeException
- C++ : public: static bool set_SourceExtension(QByteArray v)
- Java : public static void set_SourceExtension(String v) throws RuntimeException
returns the default definition of a table
Declaration :
- Uml : static, + tableDecl() : string
- C++ : public: static const QByteArray & tableDecl()
- Java : public static String tableDecl()
set the default definition of a table
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
- Uml : static, + set_TableDecl(in v : string) : bool, exceptions : RuntimeException
- C++ : public: static bool set_TableDecl(QByteArray v)
- Java : public static void set_TableDecl(String v) throws RuntimeException
returns the default definition of a column
Declaration :
- Uml : static, + columnDecl() : string
- C++ : public: static const QByteArray & columnDecl()
- Java : public static String columnDecl()
set the default definition of a column
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
- Uml : static, + set_ColumnDecl(in v : string) : bool, exceptions : RuntimeException
- C++ : public: static bool set_ColumnDecl(QByteArray v)
- Java : public static void set_ColumnDecl(String v) throws RuntimeException
returns the default definition of a key
Declaration :
- Uml : static, + keyDecl() : string
- C++ : public: static const QByteArray & keyDecl()
- Java : public static String keyDecl()
set the default definition of a key
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
- Uml : static, + set_KeyDecl(in v : string) : bool, exceptions : RuntimeException
- C++ : public: static bool set_KeyDecl(QByteArray v)
- Java : public static void set_KeyDecl(String v) throws RuntimeException
never called !
Declaration :
- Uml : - MysqlSettings() :
- C++ : private: MysqlSettings()
- Java : private MysqlSettings()
Declaration :
- Uml : static, - _defined : bool
- C++ : private: static bool _defined
- Java : private static boolean _defined
Declaration :
- Uml : static, - _root : string
- C++ : private: static QByteArray _root
- Java : private static String _root
Declaration :
- Uml : static, - _table_def : string
- C++ : private: static QByteArray _table_def
- Java : private static String _table_def
Declaration :
- Uml : static, - _column_def : string
- C++ : private: static QByteArray _column_def
- Java : private static String _column_def
Declaration :
- Uml : static, - _key_def : string
- C++ : private: static QByteArray _key_def
- Java : private static String _key_def
Declaration :
- Uml : static, - _src_content : string
- C++ : private: static QByteArray _src_content
- Java : private static String _src_content
Declaration :
- Uml : static, - _ext : string
- C++ : private: static QByteArray _ext
- Java : private static String _ext
Declaration :
- Uml : static, # read_() : void
- C++ : protected: static void read_()
- Java : protected static void read_()
Operation read_if_needed_ |
Declaration :
- Uml : static, # read_if_needed_() : void
- C++ : protected: static void read_if_needed_()
- Java : protected static void read_if_needed_()
All public operations : artifactDescription , attributeDescription , classDescription , columnDecl , keyDecl , operationDescription , relationDescription , rootDir , set_ArtifactDescription , set_AttributeDescription , set_ClassDescription , set_ColumnDecl , set_KeyDecl , set_OperationDescription , set_RelationDescription , set_RootDir , set_SourceContent , set_SourceExtension , set_TableDecl , set_UmlGetName , set_UmlSetName , set_UseDefaults , sourceContent , sourceExtension , tableDecl , umlGetName , umlSetName , useDefaults