#include <DataAnalysis/DataStructures/sqlboundobjectgroupdata.h>
Inherits QSharedData.
◆ SqlBoundObjectGroupData() [1/2]
- Parameters
-
classData | The class information associated to this data's class.. |
◆ SqlBoundObjectGroupData() [2/2]
- Parameters
-
other | The other object group data to copy from. |
◆ ~SqlBoundObjectGroupData()
◆ bindCompositePrimaryKey()
- Parameters
-
fieldNames | The names of the fields that comprise the composite key. |
objects | The data objects that comprise the composite key. Each item corresponds to a QString in the fieldNames QStringList. |
- Returns
- True if the composite key was able to be bound, false otherwise.
◆ bindMember()
- Parameters
-
name | The name of the member to bind |
obj | The data object that is being bound to the specific name |
◆ bindPrimaryKey()
- Parameters
-
name | The name of the field that is going to be bound as the primary key. |
obj | The data object associated with the primary key field name. |
autoIncrement | Whether or not this primary key is auto-incremented on insert. |
- Returns
- True if the primary key was able to be bound successfully, false otherwise.
◆ getAutoIncrementFieldNames()
- Returns
- The auto increment field names.
◆ getBoundTableName()
QString getBoundTableName |
( |
| ) |
const |
- Returns
- The table name associated with this object type.
◆ getCompositePrimaryKeyField() [1/2]
- Returns
- The data object associated with the primary key field, for use in the case that the object has a composite primary key.
◆ getCompositePrimaryKeyField() [2/2]
- Returns
- The data object associated with the primary key field, for use in the case that the object has a composite primary key.
◆ getCompositePrimaryKeyFieldNames()
- Returns
- The composite key field names.
◆ getNonRelationFieldAliases()
- Returns
- SQL-valid aliases for the field names, guaranteed to be unique among tables.
◆ getNonRelationFieldNames()
- Returns
- The field names that are not relations.
◆ getPrimaryKeyField() [1/2]
- Returns
- The data object associated with the primary key field name.
◆ getPrimaryKeyField() [2/2]
- Returns
- The data object associated with the primary key field name.
◆ getPrimaryKeyFieldName()
QString getPrimaryKeyFieldName |
( |
| ) |
const |
- Returns
- The primary key field name.
◆ getRelationFieldNames()
QStringList getRelationFieldNames |
( |
bool |
recursive | ) |
const |
- Returns
- The field names that are relations.
◆ getRelations()
- Returns
- The map of object relations.
◆ getSqlValidFieldList()
- Returns
- SQL-valid list of fields for use in a SELECT query.
◆ hasCompositePrimaryKey()
bool hasCompositePrimaryKey |
( |
| ) |
const |
- Returns
- True if this data contains a composite key, otherwise it returns false, indicating that a regular primary key field is used.
◆ operator=()
◆ classData_
◆ compositeKeyData_
◆ members_
◆ persistent_
◆ primaryKeyObj_
◆ processing_
◆ relations_