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('NOTIFICATION_DEVICE'); $tMap->setPhpName('NotificationDevice'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('DEV_UID', 'DevUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addPrimaryKey('USR_UID', 'UsrUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('SYS_LANG', 'SysLang', 'string', CreoleTypes::VARCHAR, false, 10); $tMap->addColumn('DEV_REG_ID', 'DevRegId', 'string', CreoleTypes::VARCHAR, true, 255); $tMap->addColumn('DEV_TYPE', 'DevType', 'string', CreoleTypes::VARCHAR, true, 50); $tMap->addColumn('DEV_CREATE', 'DevCreate', 'int', CreoleTypes::TIMESTAMP, true, null); $tMap->addColumn('DEV_UPDATE', 'DevUpdate', 'int', CreoleTypes::TIMESTAMP, true, null); } // doBuild() } // NotificationDeviceMapBuilder