Public Member Functions |
|
| TableModel (int typeId, QString tableName) |
|
| TableModel (QJsonObject json, QString tableName) |
|
QJsonObject | toJson () const |
|
FieldModel * | field (QString name) const |
|
RelationModel * | foregionKey (QString otherTable) const |
|
QString | toString () const |
|
QString | primaryKey () const |
|
QString | name () const |
|
void | setName (const QString &name) |
|
QString | className () const |
|
void | setClassName (const QString &className) |
|
int | typeId () const |
|
void | setTypeId (const int &typeId) |
|
QList< FieldModel * > | fields () const |
|
QList< RelationModel * > | foregionKeys () const |
|
QStringList | fieldsNames () const |
|
bool | operator== (const TableModel &t) const |
|
bool | operator!= (const TableModel &t) const |
Static Public Member Functions |
|
static TableModel * | model (QString className) |
|
static TableModel * | findByTypeId (int typeId) |
|
static TableModel * | findByName (QString name) |
|
static TableModel * | findByClassName (QString className) |
The documentation for this class was generated from the following files: