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('st_task'); $tMap->setPhpName('Task'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null); $tMap->addColumn('IS_ACTIVE', 'IsActive', 'boolean', CreoleTypes::BOOLEAN, false, null); $tMap->addColumn('TASK_ID', 'TaskId', 'string', CreoleTypes::VARCHAR, false, 64); $tMap->addColumn('TASK_PRIORITY', 'TaskPriority', 'int', CreoleTypes::INTEGER, false, null); $tMap->addColumn('STATUS', 'Status', 'int', CreoleTypes::INTEGER, false, null); $tMap->addColumn('TIME_INTERVAL', 'TimeInterval', 'int', CreoleTypes::INTEGER, false, null); $tMap->addColumn('EXECUTE_AT', 'ExecuteAt', 'int', CreoleTypes::TIME, false, null); $tMap->addColumn('LAST_EXECUTED_AT', 'LastExecutedAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('LAST_FINISHED_AT', 'LastFinishedAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('LAST_ACTIVE_AT', 'LastActiveAt', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('LAST_PROGRESS', 'LastProgress', 'int', CreoleTypes::INTEGER, false, null); $tMap->addColumn('LAST_OFFSET', 'LastOffset', 'int', CreoleTypes::INTEGER, false, null); $tMap->addColumn('LAST_COUNT', 'LastCount', 'int', CreoleTypes::INTEGER, false, null); } // doBuild() } // TaskMapBuilder