Revision 95a2ba7e
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
src/attribute.cpp | ||
---|---|---|
this->baseTableName = baseTableName;
|
||
}
|
||
|
||
QString Attribute::toString() const {
|
||
return this->name + " " + this->columnName + " " + this->tableName + " " +
|
||
this->relatedTable + " " + this->relatedColumnName + " " + this->conjunctedTable;
|
||
}
|
||
|
||
|
||
QString Attribute::getName() const {
|
||
return name;
|
||
}
|
||
... | ... | |
}
|
||
|
||
void Attribute::setRelation(const QString &tableName, const QMetaObject *relatedMetaObj,
|
||
const Relation &relation,
|
||
const QString &conjunctedTable, const QString &relatedColumnName) {
|
||
this->relatedTable = tableName;
|
||
this->relatedClass = relatedMetaObj;
|
||
this->conjunctedTable = conjunctedTable;
|
||
this->relatedColumnName = relatedColumnName;
|
||
this->relation = relation;
|
||
}
|
||
|
||
const QMetaProperty Attribute::getMetaProperty() {
|
||
... | ... | |
relatedColumnName = value;
|
||
}
|
||
|
||
Relation Attribute::getRelation() const {
|
||
return relation;
|
||
}
|
Auch abrufbar als: Unified diff
continued work on attribute resolver