QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::QxSqlRelation_OneToOne<DataType, Owner> : manage a relationship one-to-one defined between 2 classes (or between 2 tables in database) More...
#include <QxSqlRelation_OneToOne.h>
Public Member Functions | |
QxSqlRelation_OneToOne (IxDataMember *p) | |
virtual | ~QxSqlRelation_OneToOne () |
virtual QString | getDescription () const |
virtual QString | createExtraTable () const |
virtual bool | getCartesianProduct () const |
virtual void | createTable (QxSqlRelationParams ¶ms) const |
virtual void | lazySelect (QxSqlRelationParams ¶ms) const |
virtual void | lazyFrom (QxSqlRelationParams ¶ms) const |
virtual void | eagerFrom (QxSqlRelationParams ¶ms) const |
virtual void | lazyJoin (QxSqlRelationParams ¶ms) const |
virtual void | lazyWhere (QxSqlRelationParams ¶ms) const |
virtual void | eagerWhere (QxSqlRelationParams ¶ms) const |
virtual void | lazyWhereSoftDelete (QxSqlRelationParams ¶ms) const |
virtual void | lazyFetch_ResolveInput (QxSqlRelationParams ¶ms) const |
virtual void | eagerFetch_ResolveInput (QxSqlRelationParams ¶ms) const |
virtual void | lazyFetch_ResolveOutput (QxSqlRelationParams ¶ms) const |
virtual void | lazyInsert (QxSqlRelationParams ¶ms) const |
virtual void | lazyInsert_Values (QxSqlRelationParams ¶ms) const |
virtual void | lazyUpdate (QxSqlRelationParams ¶ms) const |
virtual void | lazyInsert_ResolveInput (QxSqlRelationParams ¶ms) const |
virtual void | lazyUpdate_ResolveInput (QxSqlRelationParams ¶ms) const |
virtual QSqlError | onBeforeSave (QxSqlRelationParams ¶ms) const |
virtual QSqlError | onAfterSave (QxSqlRelationParams ¶ms) const |
virtual QVariant | getIdFromQuery (bool bEager, QxSqlRelationParams ¶ms, int iOffset, int iNameIndex) const |
virtual void | updateOffset (bool bEager, QxSqlRelationParams ¶ms) const |
virtual void | eagerSelect (QxSqlRelationParams ¶ms) const |
virtual void | eagerJoin (QxSqlRelationParams ¶ms) const |
virtual void | eagerWhereSoftDelete (QxSqlRelationParams ¶ms) const |
virtual void * | eagerFetch_ResolveOutput (QxSqlRelationParams ¶ms) const |
Private Types | |
typedef QxSqlRelation < DataType, Owner > ::type_owner | type_owner |
typedef QxSqlRelation < DataType, Owner >::type_data | type_data |
qx::QxSqlRelation_OneToOne<DataType, Owner> : manage a relationship one-to-one defined between 2 classes (or between 2 tables in database)
Definition at line 55 of file QxSqlRelation_OneToOne.h.
typedef QxSqlRelation<DataType, Owner>::type_data qx::QxSqlRelation_OneToOne< DataType, Owner >::type_data [private] |
Reimplemented from qx::QxSqlRelation< DataType, Owner >.
Definition at line 61 of file QxSqlRelation_OneToOne.h.
typedef QxSqlRelation<DataType, Owner>::type_owner qx::QxSqlRelation_OneToOne< DataType, Owner >::type_owner [private] |
Reimplemented from qx::QxSqlRelation< DataType, Owner >.
Definition at line 60 of file QxSqlRelation_OneToOne.h.
qx::QxSqlRelation_OneToOne< DataType, Owner >::QxSqlRelation_OneToOne | ( | IxDataMember * | p | ) | [inline] |
Definition at line 65 of file QxSqlRelation_OneToOne.h.
virtual qx::QxSqlRelation_OneToOne< DataType, Owner >::~QxSqlRelation_OneToOne | ( | ) | [inline, virtual] |
Definition at line 66 of file QxSqlRelation_OneToOne.h.
virtual QString qx::QxSqlRelation_OneToOne< DataType, Owner >::createExtraTable | ( | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 69 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::createTable | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 71 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::eagerFetch_ResolveInput | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 80 of file QxSqlRelation_OneToOne.h.
virtual void* qx::QxSqlRelation_OneToOne< DataType, Owner >::eagerFetch_ResolveOutput | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 111 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::eagerFrom | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 74 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::eagerJoin | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 105 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::eagerSelect | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 102 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::eagerWhere | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 77 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::eagerWhereSoftDelete | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 108 of file QxSqlRelation_OneToOne.h.
virtual bool qx::QxSqlRelation_OneToOne< DataType, Owner >::getCartesianProduct | ( | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 70 of file QxSqlRelation_OneToOne.h.
virtual QString qx::QxSqlRelation_OneToOne< DataType, Owner >::getDescription | ( | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 68 of file QxSqlRelation_OneToOne.h.
virtual QVariant qx::QxSqlRelation_OneToOne< DataType, Owner >::getIdFromQuery | ( | bool | bEager, |
QxSqlRelationParams & | params, | ||
int | iOffset, | ||
int | iNameIndex | ||
) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 96 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyFetch_ResolveInput | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 79 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyFetch_ResolveOutput | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 81 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyFrom | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 73 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyInsert | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 82 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyInsert_ResolveInput | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 85 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyInsert_Values | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 83 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyJoin | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 75 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazySelect | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 72 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyUpdate | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 84 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyUpdate_ResolveInput | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 86 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyWhere | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 76 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::lazyWhereSoftDelete | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 78 of file QxSqlRelation_OneToOne.h.
virtual QSqlError qx::QxSqlRelation_OneToOne< DataType, Owner >::onAfterSave | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 89 of file QxSqlRelation_OneToOne.h.
virtual QSqlError qx::QxSqlRelation_OneToOne< DataType, Owner >::onBeforeSave | ( | QxSqlRelationParams & | params | ) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 87 of file QxSqlRelation_OneToOne.h.
virtual void qx::QxSqlRelation_OneToOne< DataType, Owner >::updateOffset | ( | bool | bEager, |
QxSqlRelationParams & | params | ||
) | const [inline, virtual] |
Implements qx::IxSqlRelation.
Definition at line 99 of file QxSqlRelation_OneToOne.h.