#include <PoolDatabaseSchema.h>
Public Member Functions | |
void | create () |
void | drop () |
bool | exists () |
std::string | name () |
PoolClassVersionTable (coral::ISchema &dbSchema) | |
virtual | ~PoolClassVersionTable () |
Static Public Member Functions | |
static std::string | classVersionColumn () |
static std::string | containerNameColumn () |
static std::string | mappingVersionColumn () |
static std::string | tableName () |
Definition at line 157 of file PoolDatabaseSchema.h.
ora::PoolClassVersionTable::PoolClassVersionTable | ( | coral::ISchema & | dbSchema | ) | [explicit] |
Definition at line 703 of file PoolDatabaseSchema.cc.
: IDatabaseTable( dbSchema ){ }
ora::PoolClassVersionTable::~PoolClassVersionTable | ( | ) | [virtual] |
Definition at line 707 of file PoolDatabaseSchema.cc.
{ }
std::string ora::PoolClassVersionTable::classVersionColumn | ( | ) | [static] |
Definition at line 687 of file PoolDatabaseSchema.cc.
Referenced by ora::PoolMappingSchema::getClassVersionListForContainer(), ora::PoolMappingSchema::getClassVersionListForMappingVersion(), ora::PoolMappingSchema::insertClassVersion(), ora::PoolMappingSchema::selectMappingVersion(), and ora::PoolMappingSchema::setMappingVersion().
{ static std::string s_col("CLASS_VERSION"); return s_col; }
std::string ora::PoolClassVersionTable::containerNameColumn | ( | ) | [static] |
Definition at line 692 of file PoolDatabaseSchema.cc.
Referenced by ora::PoolMappingSchema::getClassVersionListForContainer(), ora::PoolMappingSchema::getMappingVersionListForContainer(), ora::PoolMappingSchema::insertClassVersion(), ora::PoolMappingSchema::selectMappingVersion(), and ora::PoolMappingSchema::setMappingVersion().
{ static std::string s_col("CONTAINER_ID"); return s_col; }
void ora::PoolClassVersionTable::create | ( | ) | [virtual] |
Implements ora::IDatabaseTable.
Definition at line 718 of file PoolDatabaseSchema.cc.
References python::IdGenerator::schema, and ora::throwException().
{ if( schema().existsTable( tableName() )){ throwException( "POOL database class version table already exists in this schema.", "PoolClassVersionTable::create"); } throwException( "POOL database cannot be created.","PoolClassVersionTable::create"); }
void ora::PoolClassVersionTable::drop | ( | ) | [virtual] |
Implements ora::IDatabaseTable.
Definition at line 726 of file PoolDatabaseSchema.cc.
References python::IdGenerator::schema.
bool ora::PoolClassVersionTable::exists | ( | ) | [virtual] |
Implements ora::IDatabaseTable.
Definition at line 714 of file PoolDatabaseSchema.cc.
References python::IdGenerator::schema.
std::string ora::PoolClassVersionTable::mappingVersionColumn | ( | ) | [static] |
Definition at line 698 of file PoolDatabaseSchema.cc.
Referenced by ora::PoolMappingSchema::getClassVersionListForContainer(), ora::PoolMappingSchema::getClassVersionListForMappingVersion(), ora::PoolMappingSchema::getMappingVersionListForContainer(), ora::PoolMappingSchema::insertClassVersion(), ora::PoolMappingSchema::selectMappingVersion(), and ora::PoolMappingSchema::setMappingVersion().
{ static std::string s_col("MAPPING_VERSION"); return s_col; }
std::string ora::PoolClassVersionTable::name | ( | ) | [virtual] |
Implements ora::IDatabaseTable.
Definition at line 710 of file PoolDatabaseSchema.cc.
{ return tableName(); }
std::string ora::PoolClassVersionTable::tableName | ( | ) | [static] |
Definition at line 682 of file PoolDatabaseSchema.cc.
Referenced by ora::PoolMappingSchema::getClassVersionListForContainer(), ora::PoolMappingSchema::getClassVersionListForMappingVersion(), ora::PoolMappingSchema::getMappingVersionListForContainer(), ora::PoolMappingSchema::insertClassVersion(), ora::PoolMappingSchema::removeMapping(), ora::PoolMappingSchema::selectMappingVersion(), and ora::PoolMappingSchema::setMappingVersion().
{ static std::string s_table("POOL_OR_CLASS_VERSIONS"); return s_table; }