Revision 43457c84
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
src/entityinspector.h | ||
---|---|---|
|
||
/**
|
||
* @brief The EntityInspector class
|
||
* @todo verify Mappings
|
||
* This class can check entities for errors.
|
||
*/
|
||
class EntityInspector {
|
||
public:
|
||
... | ... | |
void verifyTransientAttributes(Entity *&entity, QString &msg);
|
||
bool checkRelation(const QVariant &entity, const Relation &r, QString &msg,
|
||
const QMetaProperty &property) const;
|
||
void checkRelationTypos(const QString &name, const Relation &r, QString &msg, bool &ok);
|
||
void checkRelationTypos(const QString &name, const Relation &r, QString &msg,
|
||
bool &ok);
|
||
void checkRelationMappings(QMetaProperty &property, const Relation &r,
|
||
QString &msg, bool &ok);
|
||
bool checkPrimaryKey(Entity *&entity, QString &msg);
|
||
void verifyBlobAttributes(Entity *&entity, QString &msg);
|
||
void checkMetaProperties(QHash<QString, QMetaProperty> &metaProperties,
|
Auch abrufbar als: Unified diff
entity inspector improvements