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('workflow'); $tMap = $this->dbMap->addTable('ISO_COUNTRY'); $tMap->setPhpName('IsoCountry'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('IC_UID', 'IcUid', 'string', CreoleTypes::VARCHAR, true, 2); $tMap->addColumn('IC_NAME', 'IcName', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('IC_SORT_ORDER', 'IcSortOrder', 'string', CreoleTypes::VARCHAR, false, 255); } // doBuild() } // IsoCountryMapBuilder