dbMap !== null); } /** * Gets the databasemap this map builder built. * * @return the databasemap */ public function getDatabaseMap() { return $this->dbMap; } /** * The doBuild() method builds the DatabaseMap * * @return void * @throws PropelException */ public function doBuild() { $this->dbMap = Propel::getDatabaseMap('rbac'); $tMap = $this->dbMap->addTable('RBAC_ROLES'); $tMap->setPhpName('Roles'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('ROL_UID', 'RolUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('ROL_PARENT', 'RolParent', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('ROL_SYSTEM', 'RolSystem', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('ROL_CODE', 'RolCode', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('ROL_CREATE_DATE', 'RolCreateDate', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('ROL_UPDATE_DATE', 'RolUpdateDate', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('ROL_STATUS', 'RolStatus', 'int', CreoleTypes::INTEGER, true, null); } // doBuild() } // RolesMapBuilder