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('SCHEDULER'); $tMap->setPhpName('Scheduler'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'string', CreoleTypes::BIGINT, true, 20); $tMap->addColumn('TITLE', 'Title', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('STARTINGTIME', 'Startingtime', 'string', CreoleTypes::VARCHAR, false, 100); $tMap->addColumn('ENDINGTIME', 'Endingtime', 'string', CreoleTypes::VARCHAR, false, 100); $tMap->addColumn('EVERYON', 'Everyon', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('INTERVAL', 'Interval', 'string', CreoleTypes::VARCHAR, false, 10); $tMap->addColumn('DESCRIPTION', 'Description', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('EXPRESSION', 'Expression', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('BODY', 'Body', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('TYPE', 'Type', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('CATEGORY', 'Category', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('SYSTEM', 'System', 'int', CreoleTypes::TINYINT, false, 3); $tMap->addColumn('TIMEZONE', 'Timezone', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('ENABLE', 'Enable', 'int', CreoleTypes::TINYINT, false, 3); $tMap->addColumn('CREATION_DATE', 'CreationDate', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('LAST_UPDATE', 'LastUpdate', 'int', CreoleTypes::TIMESTAMP, false, null); } // doBuild() } // SchedulerMapBuilder