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('BPMN_EXTENSION'); $tMap->setPhpName('BpmnExtension'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('EXT_UID', 'ExtUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32); $tMap->addColumn('EXT_ELEMENT', 'ExtElement', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('EXT_ELEMENT_TYPE', 'ExtElementType', 'string', CreoleTypes::VARCHAR, true, 45); $tMap->addColumn('EXT_EXTENSION', 'ExtExtension', 'string', CreoleTypes::LONGVARCHAR, false, null); } // doBuild() } // BpmnExtensionMapBuilder