#include <MappingToSchema.h>
Public Member Functions | |
void | alter (const MappingTree &mapping) |
bool | check (const MappingTree &mapping) |
void | create (const MappingTree &mapping) |
MappingToSchema (coral::ISchema &schema) | |
Constructor. More... | |
~MappingToSchema () | |
Destructor. More... | |
Private Member Functions | |
void | createTable (const TableInfo &tableInfo) |
Private Attributes | |
coral::ISchema & | m_schema |
Reference to the schema in use. More... | |
Helper class which is used for the creation of the tables which hold the object data, conforming to a given object/relational mapping.
Definition at line 19 of file MappingToSchema.h.
|
explicit |
Constructor.
Definition at line 16 of file MappingToSchema.cc.
ora::MappingToSchema::~MappingToSchema | ( | ) |
void ora::MappingToSchema::alter | ( | const MappingTree & | mapping | ) |
Definition at line 78 of file MappingToSchema.cc.
References funct::false, i, asciidump::table, ora::MappingTree::tables(), and ora::throwException().
Referenced by ora::ContainerSchema::evolve().
bool ora::MappingToSchema::check | ( | const MappingTree & | mapping | ) |
Definition at line 130 of file MappingToSchema.cc.
References convertSQLiteXML::ok, and ora::MappingTree::tables().
void ora::MappingToSchema::create | ( | const MappingTree & | mapping | ) |
Definition at line 69 of file MappingToSchema.cc.
References ora::MappingTree::tables().
Referenced by ora::ContainerSchema::create().
|
private |
Definition at line 23 of file MappingToSchema.cc.
References idDealer::description, ora::MappingRules::fkNameForIdentity(), i, ora::TableInfo::m_dataColumns, ora::TableInfo::m_dependency, ora::TableInfo::m_idColumns, ora::TableInfo::m_nullableColumns, ora::TableInfo::m_parentTableName, ora::TableInfo::m_refColumns, ora::TableInfo::m_tableName, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Reference to the schema in use.
Definition at line 39 of file MappingToSchema.h.