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('APP_FILES'); $tMap->setPhpName('AppFiles'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('APF_UID', 'ApfUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('PRO_UID', 'ProUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('CREATE_USR_UID', 'CreateUsrUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('LAST_UPDATE_USR_UID', 'LastUpdateUsrUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('APF_PATH', 'ApfPath', 'string', CreoleTypes::VARCHAR, true, 256); $tMap->addColumn('APF_TYPE', 'ApfType', 'string', CreoleTypes::VARCHAR, false, 32); $tMap->addColumn('APF_EDITABLE', 'ApfEditable', 'int', CreoleTypes::TINYINT, false, null); $tMap->addColumn('APF_CREATE_DATE', 'ApfCreateDate', 'int', CreoleTypes::TIMESTAMP, true, null); $tMap->addColumn('APF_UPDATE_DATE', 'ApfUpdateDate', 'int', CreoleTypes::TIMESTAMP, false, null); } // doBuild() } // AppFilesMapBuilder