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('propel'); $tMap = $this->dbMap->addTable('node_network'); $tMap->setPhpName('NodeNetwork'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null); $tMap->addForeignKey('NODE_ID', 'NodeId', 'int', CreoleTypes::INTEGER, 'node', 'ID', false, null); $tMap->addColumn('INTRODUCTION', 'Introduction', 'string', CreoleTypes::LONGVARCHAR, false, null); } // doBuild() } // NodeNetworkMapBuilder